\FACTFinder\DataBreadCrumb

Represents any kind of selectable item on the page. This includes links and some form elements. This class really just groups a label, a URL and a boolean indicating whether the item is already selected. Subclasses may add further fields or logic to implement different kinds of items.

Summary

Methods
Properties
Constants
__construct()
getLabel()
getUrl()
setUrl()
isSelected()
isSearchBreadCrumb()
isFilterBreadCrumb()
getFieldName()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$label
$url
$selected
$type
$fieldName
N/A

Properties

$label

$label : string

Type

string

$url

$url : string

Type

string

$selected

$selected : boolean

Type

boolean

$fieldName

$fieldName : string

Type

string

Methods

__construct()

__construct(string  $label, string  $url, boolean  $isSelected = false, \FACTFinder\Data\BreadCrumbType  $type = null, string  $fieldName = '') 

Parameters

string $label
string $url
boolean $isSelected
\FACTFinder\Data\BreadCrumbType $type
string $fieldName

Only for filter-type items. The field by which was filtered.

getLabel()

getLabel() : string

Returns

string

getUrl()

getUrl() : string

Returns

string

setUrl()

setUrl(  $url) : string

Parameters

$url

Returns

string

isSelected()

isSelected() : boolean

Returns

boolean

isSearchBreadCrumb()

isSearchBreadCrumb() : boolean

Returns

boolean

isFilterBreadCrumb()

isFilterBreadCrumb() : boolean

Returns

boolean

getFieldName()

getFieldName() : string

Returns

string