PHP Class Newscoop\Datatable\Source

Inheritance: extends Doctrine\ORM\EntityRepository, implements Newscoop\Datatable\ISource
Exibir arquivo Open project: sourcefabric/newscoop

Public Methods

Method Description
getCount ( array $p_params = null, array $p_cols = null ) : integer Get entity count
getData ( array $p_params, array $p_cols ) : array Get data for table

Private Methods

Method Description
buildWhere ( array $p_cols, $p_search, $qb = null, $andx = null ) : Doctrine\ORM\Query\Expr Build where condition

Method Details

getCount() public method

Get entity count
public getCount ( array $p_params = null, array $p_cols = null ) : integer
$p_params array
$p_cols array
return integer

getData() public method

Get data for table
public getData ( array $p_params, array $p_cols ) : array
$p_params array
$p_cols array
return array