Url
in package
Pagination URL
Table of Contents
- $label : mixed
- $url : mixed
- $isCurrent : mixed
- __construct() : mixed
- __toString() : string
- Output page as a anchor string
- getLabel() : string
- Return page label
- getParameters() : array<string|int, mixed>
- Return hash of current parameters
- getUrl() : string
- Return page url
- isCurrent() : bool
- Is this the currently active page
Properties
$label
public
mixed
$label
$url
public
mixed
$url
$isCurrent
private
mixed
$isCurrent
= false
Methods
__construct()
public
__construct(string $url[, string $label = false ][, bool $isCurrent = false ]) : mixed
Parameters
- $url : string
- $label : string = false
- $isCurrent : bool = false
Return values
mixed —__toString()
Output page as a anchor string
public
__toString() : string
Return values
string —getLabel()
Return page label
public
getLabel() : string
Return values
string —getParameters()
Return hash of current parameters
public
getParameters() : array<string|int, mixed>
Return values
array<string|int, mixed> —getUrl()
Return page url
public
getUrl() : string
Return values
string —isCurrent()
Is this the currently active page
public
isCurrent() : bool