\PhpOffice\PhpSpreadsheet\CellHyperlink

Summary

Methods
Properties
Constants
__construct()
getUrl()
setUrl()
getTooltip()
setTooltip()
isInternal()
getTypeHyperlink()
getHashCode()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$url
$tooltip
N/A

Properties

$url

$url : string

URL to link the cell to.

Type

string

$tooltip

$tooltip : string

Tooltip to display on the hyperlink.

Type

string

Methods

__construct()

__construct(string  $pUrl = '', string  $pTooltip = '') 

Create a new Hyperlink.

Parameters

string $pUrl

Url to link the cell to

string $pTooltip

Tooltip to display on the hyperlink

getUrl()

getUrl() : string

Get URL.

Returns

string

setUrl()

setUrl(string  $value) : $this

Set URL.

Parameters

string $value

Returns

$this

getTooltip()

getTooltip() : string

Get tooltip.

Returns

string

setTooltip()

setTooltip(string  $value) : $this

Set tooltip.

Parameters

string $value

Returns

$this

isInternal()

isInternal() : boolean

Is this hyperlink internal? (to another worksheet).

Returns

boolean

getTypeHyperlink()

getTypeHyperlink() : string

Returns

string

getHashCode()

getHashCode() : string

Get hash code.

Returns

string —

Hash code