Class SearchCount
Class holding data for rank, count and search rate for a phrase.
This class is used both for Searches with hits and Searches with No Hits.
This class represents 1 row in the top 2 tables in the Search Statistics tab on the Reports page in eSales manager.
Methods summary
public
|
#
__construct( string $phrase, integer $count, Apptus\ESales\Connector\Report\Rate $searchRate, integer $rank )
Parameters
- $phrase
- search phrase. Can not be null.
- $count
- of time this phrase was searched on and resulted in either a hit or a no hit depending on the usage of this SearchCount.
- $searchRate
- between number of searches for this phrase resulting in a [hit|no hit] and the total number of searches resulting in a [hit|no hit]. Can not be null.
- $rank
- popularity position for this search phrase in the table.
|
public
string
|
#
phrase( )
Returns
string The search phrase.
|
public
integer
|
#
count( )
Returns
integer Number of time this phrase was searched on and resulted in either a hit or a no hit depending on the usage of this SearchCount.
|
public
Apptus\ESales\Connector\Report\Rate
|
|
public
integer
|
#
rank( )
Returns
integer The popularity position for this search phrase in the table.
|