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
TextElement.php
Go to the documentation of this file.
1
<?php
34
class
PHPExcel_RichText_TextElement
implements
PHPExcel_RichText_ITextElement
35
{
41
private
$_text
;
42
48
public
function
__construct
($pText =
''
)
49
{
50
// Initialise variables
51
$this->_text = $pText;
52
}
53
59
public
function
getText
() {
60
return
$this->_text
;
61
}
62
69
public
function
setText
($pText =
''
) {
70
$this->_text = $pText;
71
return
$this;
72
}
73
79
public
function
getFont
() {
80
return
null;
81
}
82
88
public
function
getHashCode
() {
89
return
md5(
90
$this->_text
91
. __CLASS__
92
);
93
}
94
98
public
function
__clone
() {
99
$vars = get_object_vars($this);
100
foreach
($vars as $key => $value) {
101
if
(is_object($value)) {
102
$this->$key = clone $value;
103
}
else
{
104
$this->$key = $value;
105
}
106
}
107
}
108
}
Services
Excel
PHPExcel
1.7.6
Classes
PHPExcel
RichText
TextElement.php
Generated on Mon Apr 25 2016 19:01:27 for ILIAS by
1.8.1.2 (using
Doxyfile
)