PHP Class Gpf_Rpc_FilterCollection

Inheritance: extends Gpf_Object, implements IteratorAggregate
Show file Open project: fubralimited/php-oara Class Usage Examples

Public Methods

Method Description
__construct ( Gpf_Rpc_Params $params = null )
add ( array $filterArray )
addTo ( Gpf_SqlBuilder_WhereClause $whereClause )
getFilter ( string $code ) : array Returns first filter with specified code.
getFilterValue ( $code )
getIterator ( ) : ArrayIterator
getSize ( )
isFilter ( $code )
loadDefaultFilterCollection ( $filterType )
loadFilterById ( $filterId )
matches ( Gpf_Data_Record $row )

Private Methods

Method Description
init ( Gpf_Rpc_Params $params )

Method Details

__construct() public method

public __construct ( Gpf_Rpc_Params $params = null )
$params Gpf_Rpc_Params

add() public method

public add ( array $filterArray )
$filterArray array

addTo() public method

public addTo ( Gpf_SqlBuilder_WhereClause $whereClause )
$whereClause Gpf_SqlBuilder_WhereClause

getFilter() public method

If filter with specified code does not exists null is returned.
public getFilter ( string $code ) : array
$code string
return array

getFilterValue() public method

public getFilterValue ( $code )

getIterator() public method

getSize() public method

public getSize ( )

isFilter() public method

public isFilter ( $code )

loadDefaultFilterCollection() public method

public loadDefaultFilterCollection ( $filterType )

loadFilterById() public method

public loadFilterById ( $filterId )

matches() public method

public matches ( Gpf_Data_Record $row )
$row Gpf_Data_Record