Documentation

Hyperlink

Table of Contents

set()  : mixed
HYPERLINK.

Methods

set()

HYPERLINK.

public static set([mixed $linkURL = '' ][, mixed $displayName = null ][, Cell $cell = null ]) : mixed

Excel Function: =HYPERLINK(linkURL, [displayName])

Parameters
$linkURL : mixed = ''

Expect string. Value to check, is also the value returned when no error

$displayName : mixed = null

Expect string. Value to return when testValue is an error condition

$cell : Cell = null

The cell to set the hyperlink in

Return values
mixed

The value of $displayName (or $linkURL if $displayName was blank)

Search results