\FACTFinder\DataTagQuery

Represents an item in a tag cloud.

Summary

Methods
Properties
Constants
__construct()
getLabel()
getUrl()
setUrl()
isSelected()
getWeight()
getSearchCount()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$label
$url
$selected
$weight
$searchCount
N/A

Properties

$label

$label : string

Type

string

$url

$url : string

Type

string

$selected

$selected : boolean

Type

boolean

$weight

$weight : 

Type

$searchCount

$searchCount : 

Type

Methods

__construct()

__construct(string  $query, string  $url, boolean  $isSelected = false, float  $weight = 0.0, integer  $searchCount) 

Parameters

string $query

The search term - will be used as the item's label.

string $url
boolean $isSelected
float $weight

Optional value between 0.0 and 1.0.

integer $searchCount

Indicates how often this query has been searched for.

getLabel()

getLabel() : string

Returns

string

getUrl()

getUrl() : string

Returns

string

setUrl()

setUrl(  $url) : string

Parameters

$url

Returns

string

isSelected()

isSelected() : boolean

Returns

boolean

getWeight()

getWeight() : float

Returns

float

getSearchCount()

getSearchCount() : integer

Returns

integer