Documentation

Hyperlink
in package

Table of Contents

Methods

__construct()  : mixed
Create a new Hyperlink.
getDisplay()  : string
getHashCode()  : string
Get hash code.
getTooltip()  : string
Get tooltip.
getTypeHyperlink()  : string
getUrl()  : string
Get URL.
isInternal()  : bool
Is this hyperlink internal? (to another worksheet or a cell in this worksheet).
setDisplay()  : self
This can be displayed in cell rather than actual cell contents.
setTooltip()  : $this
Set tooltip.
setUrl()  : $this
Set 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

getDisplay()

public getDisplay() : string
Return values
string

getHashCode()

Get hash code.

public getHashCode() : string
Return values
string

Hash code

getTooltip()

Get tooltip.

public getTooltip() : string
Return values
string
public getTypeHyperlink() : string
Return values
string

getUrl()

Get URL.

public getUrl() : string
Return values
string

isInternal()

Is this hyperlink internal? (to another worksheet or a cell in this worksheet).

public isInternal() : bool
Return values
bool

setDisplay()

This can be displayed in cell rather than actual cell contents.

public setDisplay(string $display) : self

It seems to be ignored by Excel. It may be used by Google Sheets.

Parameters
$display : string
Return values
self

setTooltip()

Set tooltip.

public setTooltip(string $tooltip) : $this
Parameters
$tooltip : string
Return values
$this

setUrl()

Set URL.

public setUrl(string $url) : $this
Parameters
$url : string
Return values
$this

        
On this page

Search results