ILIAS
eassessment Revision 61809
◀ ilDoc Overview
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Groups
Pages
Run.php
Go to the documentation of this file.
1
<?php
34
class
PHPExcel_RichText_Run
extends
PHPExcel_RichText_TextElement
implements
PHPExcel_RichText_ITextElement
35
{
41
private
$_font
;
42
48
public
function
__construct
($pText =
''
)
49
{
50
// Initialise variables
51
$this->
setText
($pText);
52
$this->_font =
new
PHPExcel_Style_Font
();
53
}
54
60
public
function
getFont
() {
61
return
$this->_font
;
62
}
63
71
public
function
setFont
(
PHPExcel_Style_Font
$pFont = null) {
72
$this->_font = $pFont;
73
return
$this;
74
}
75
81
public
function
getHashCode
() {
82
return
md5(
83
$this->
getText
()
84
. $this->_font->getHashCode()
85
. __CLASS__
86
);
87
}
88
92
public
function
__clone
() {
93
$vars = get_object_vars($this);
94
foreach
($vars as $key => $value) {
95
if
(is_object($value)) {
96
$this->$key = clone $value;
97
}
else
{
98
$this->$key = $value;
99
}
100
}
101
}
102
}
Services
Excel
PHPExcel
1.7.6
Classes
PHPExcel
RichText
Run.php
Generated on Mon Apr 25 2016 19:01:27 for ILIAS by
1.8.1.2 (using
Doxyfile
)