ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
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
}
PHPExcel_RichText_TextElement\getHashCode
getHashCode()
Get hash code.
Definition:
TextElement.php:88
PHPExcel_RichText_TextElement\setText
setText($pText='')
Set text.
Definition:
TextElement.php:69
PHPExcel_RichText_ITextElement
Definition:
ITextElement.php:34
PHPExcel_RichText_TextElement\$_text
$_text
Definition:
TextElement.php:41
PHPExcel_RichText_TextElement\getFont
getFont()
Get font.
Definition:
TextElement.php:79
PHPExcel_RichText_TextElement\__clone
__clone()
Implement PHP __clone to create a deep clone, not just a shallow copy.
Definition:
TextElement.php:98
PHPExcel_RichText_TextElement
Definition:
TextElement.php:34
PHPExcel_RichText_TextElement\__construct
__construct($pText='')
Create a new PHPExcel_RichText_TextElement instance.
Definition:
TextElement.php:48
$key
$key
Definition:
croninfo.php:18
PHPExcel_RichText_TextElement\getText
getText()
Get text.
Definition:
TextElement.php:59
libs
composer
vendor
phpoffice
phpexcel
Classes
PHPExcel
RichText
TextElement.php
Generated on Tue Mar 11 2025 19:01:49 for ILIAS by
1.8.13 (using
Doxyfile
)