Detailed Description
Definition at line 36 of file Hyperlink.php.
Constructor & Destructor Documentation
PHPExcel_Cell_Hyperlink::__construct |
( |
PHPExcel_Cell |
$pCell = null , |
|
|
|
$pUrl = '' , |
|
|
|
$pTooltip = '' |
|
) |
| |
Create a new PHPExcel_Cell_Hyperlink.
- Parameters
-
PHPExcel_Cell | $pCell | Parent cell |
string | $pUrl | Url to link the cell to |
string | $pTooltip | Tooltip to display on the hyperlink |
- Exceptions
-
Definition at line 67 of file Hyperlink.php.
{
$this->_url = $pUrl;
$this->_tooltip = $pTooltip;
$this->_parent = $pCell;
}
Member Function Documentation
PHPExcel_Cell_Hyperlink::getHashCode |
( |
| ) |
|
Get hash code.
- Returns
- string Hash code
Definition at line 151 of file Hyperlink.php.
{
return md5(
$this->_url
. $this->_tooltip
. $this->_parent->getCoordinate()
. __CLASS__
);
}
PHPExcel_Cell_Hyperlink::getParent |
( |
| ) |
|
PHPExcel_Cell_Hyperlink::getTooltip |
( |
| ) |
|
PHPExcel_Cell_Hyperlink::getUrl |
( |
| ) |
|
PHPExcel_Cell_Hyperlink::isInternal |
( |
| ) |
|
Is this hyperlink internal? (to another sheet)
- Returns
- boolean
Definition at line 122 of file Hyperlink.php.
{
return strpos($this->_url, 'sheet://') !== false;
}
PHPExcel_Cell_Hyperlink::setParent |
( |
|
$value = null | ) |
|
PHPExcel_Cell_Hyperlink::setTooltip |
( |
|
$value = '' | ) |
|
PHPExcel_Cell_Hyperlink::setUrl |
( |
|
$value = '' | ) |
|
Field Documentation
PHPExcel_Cell_Hyperlink::$_cell |
|
private |
PHPExcel_Cell_Hyperlink::$_tooltip |
|
private |
PHPExcel_Cell_Hyperlink::$_url |
|
private |
The documentation for this class was generated from the following file: