Hyperlink
in package
Table of Contents
Properties
Methods
- __construct() : mixed
- Create a new Hyperlink.
- getHashCode() : string
- Get hash code.
- getTooltip() : string
- Get tooltip.
- getTypeHyperlink() : string
- getUrl() : string
- Get URL.
- isInternal() : bool
- Is this hyperlink internal? (to another worksheet).
- setTooltip() : $this
- Set tooltip.
- setUrl() : $this
- Set URL.
Properties
$tooltip
Tooltip to display on the hyperlink.
private
string
$tooltip
$url
URL to link the cell to.
private
string
$url
Methods
__construct()
Create a new Hyperlink.
public
__construct([string $url = '' ][, string $tooltip = '' ]) : mixed
Parameters
- $url : string = ''
-
Url to link the cell to
- $tooltip : string = ''
-
Tooltip to display on the hyperlink
getHashCode()
Get hash code.
public
getHashCode() : string
Return values
string —Hash code
getTooltip()
Get tooltip.
public
getTooltip() : string
Return values
stringgetTypeHyperlink()
public
getTypeHyperlink() : string
Return values
stringgetUrl()
Get URL.
public
getUrl() : string
Return values
stringisInternal()
Is this hyperlink internal? (to another worksheet).
public
isInternal() : bool
Return values
boolsetTooltip()
Set tooltip.
public
setTooltip(string $tooltip) : $this
Parameters
- $tooltip : string
Return values
$thissetUrl()
Set URL.
public
setUrl(string $url) : $this
Parameters
- $url : string