\FACTFinder\DataSortingItem

Represents a particular clickable sorting.

Summary

Methods
Properties
Constants
__construct()
getLabel()
getUrl()
setUrl()
isSelected()
getName()
isAscending()
isDescending()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$label
$url
$selected
$order
$name
N/A

Properties

$label

$label : string

Type

string

$url

$url : string

Type

string

$selected

$selected : boolean

Type

boolean

$name

$name : string

Type

string

Methods

__construct()

__construct(string  $name, \FACTFinder\Data\SortingDirection  $order, string  $label, string  $url, boolean  $isSelected = false) 

Parameters

string $name
\FACTFinder\Data\SortingDirection $order
string $label
string $url
boolean $isSelected

getLabel()

getLabel() : string

Returns

string

getUrl()

getUrl() : string

Returns

string

setUrl()

setUrl(  $url) : string

Parameters

$url

Returns

string

isSelected()

isSelected() : boolean

Returns

boolean

getName()

getName() : string

Returns

string

isAscending()

isAscending() : boolean

Returns

boolean

isDescending()

isDescending() : boolean

Returns

boolean