BlueSpice MediaWiki master
 All Classes Namespaces Files Functions Variables Groups Pages
BlueSpice\Data\ReaderParams Class Reference
Inheritance diagram for BlueSpice\Data\ReaderParams:
Collaboration diagram for BlueSpice\Data\ReaderParams:

Public Member Functions

 __construct ($params=[])
 
 getLimit ()
 
 getStart ()
 
 getSort ()
 
 getQuery ()
 
 getFilter ()
 

Public Attributes

const LIMIT_INFINITE = -1
 

Protected Member Functions

 setIfAvailable (&$property, $source, $field)
 
 setSort ($params)
 
 setFilter ($params)
 

Protected Attributes

 $query = ''
 
 $start = 0
 
 $limit = 25
 
 $sort = []
 
 $filter = []
 

Constructor & Destructor Documentation

BlueSpice\Data\ReaderParams::__construct (   $params = [])
Parameters
array$params

Member Function Documentation

BlueSpice\Data\ReaderParams::getFilter ( )

Getter for "filter" param

Returns
Filter[]
BlueSpice\Data\ReaderParams::getLimit ( )

Getter for "limit" param

Returns
int The "limit" parameter
BlueSpice\Data\ReaderParams::getQuery ( )

Getter for "query" param

Returns
string The "query" parameter
BlueSpice\Data\ReaderParams::getSort ( )

Getter for "sort" param

Returns
Sort[]
BlueSpice\Data\ReaderParams::getStart ( )

Getter for "start" param

Returns
int The "start" parameter

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