ILIAS
Release_4_0_x_branch Revision 61816
◀ ilDoc Overview
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Groups
Pages
Hyperlink.php
Go to the documentation of this file.
1
<?php
36
class
PHPExcel_Cell_Hyperlink
37
{
43
private
$_cell
;
44
50
private
$_url
;
51
57
private
$_tooltip
;
58
67
public
function
__construct
(
PHPExcel_Cell
$pCell = null, $pUrl =
''
, $pTooltip =
''
)
68
{
69
// Initialise member variables
70
$this->_url = $pUrl;
71
$this->_tooltip = $pTooltip;
72
73
// Set cell
74
$this->_parent = $pCell;
75
}
76
82
public
function
getUrl
() {
83
return
$this->_url
;
84
}
85
92
public
function
setUrl
($value =
''
) {
93
$this->_url = $value;
94
return
$this;
95
}
96
102
public
function
getTooltip
() {
103
return
$this->_tooltip
;
104
}
105
112
public
function
setTooltip
($value =
''
) {
113
$this->_tooltip = $value;
114
return
$this;
115
}
116
122
public
function
isInternal
() {
123
return
strpos($this->_url,
'sheet://'
) !==
false
;
124
}
125
131
public
function
getParent
() {
132
return
$this->_parent;
133
}
134
141
public
function
setParent
($value = null) {
142
$this->_parent = $value;
143
return
$this;
144
}
145
151
public
function
getHashCode
() {
152
return
md5(
153
$this->_url
154
. $this->_tooltip
155
. $this->_parent->getCoordinate()
156
. __CLASS__
157
);
158
}
159
}
Services
Excel
classes
PHPExcel
Cell
Hyperlink.php
Generated on Wed Apr 27 2016 19:01:36 for ILIAS by
1.8.1.2 (using
Doxyfile
)