BlueSpice MediaWiki REL1_27
 All Classes Namespaces Files Functions Variables Groups Pages
BsStatisticsFilter Class Reference
Inheritance diagram for BsStatisticsFilter:

Public Member Functions

 __construct ($oDiagram)
 
 getSql ()
 
 getActiveFilterText ()
 
 getValueFromRequest ()
 
 getValueFromTaskData ($oTaskData)
 
 isActiveValue ($sValue)
 
 getSqlKey ()
 
 getParamKey ()
 
 getLabel ()
 

Public Attributes

const FILTER_PARAM_PREFIX = 'hwpFilter'
 
const FILTER_SQL_PREFIX = '@'
 

Protected Attributes

 $sLabel
 
 $sType
 
 $sDefault
 
 $sFilterKey
 
 $oDiagram
 

Constructor & Destructor Documentation

BsStatisticsFilter::__construct (   $oDiagram)

Constructor of BsStatisticsFilter class

Parameters
BsDiagram$oDiagramInstance of diagram the filter is used with.

Member Function Documentation

BsStatisticsFilter::getLabel ( )

Gets label for filter

Returns
string
BsStatisticsFilter::getParamKey ( )

Gets key for HTTP request param

Returns
string
BsStatisticsFilter::getSql ( )
abstract

Returns SQL statement for data retrieval

Returns
string SQL statement
BsStatisticsFilter::getSqlKey ( )

Gets key for sql placehoder

Returns
string
BsStatisticsFilter::getValueFromRequest ( )
abstract

Retrieves active filter value from HTTP request

BsStatisticsFilter::getValueFromTaskData (   $oTaskData)
abstract

Retrieves active filter value from API task data

BsStatisticsFilter::isActiveValue (   $sValue)
abstract

Checks if a given value is active

Parameters
string$sValueThe value to check
Returns
bool

Member Data Documentation

const BsStatisticsFilter::FILTER_PARAM_PREFIX = 'hwpFilter'

Prefix for URL params

const BsStatisticsFilter::FILTER_SQL_PREFIX = '@'

Prefix for SQL placeholder


The documentation for this class was generated from the following file: