PHP Class Pimcore\Model\Object\Listing\Dao

Inheritance: extends Pimcore\Model\Listing\Dao\AbstractDao
Show file Open project: pimcore/pimcore Class Usage Examples

Protected Properties

Property Type Description
$onCreateQueryCallback function

Public Methods

Method Description
getCount ( ) : integer
getQuery ( ) : Zend_Db_Select get select query
getTotalCount ( ) : integer
load ( ) : array Loads a list of objects for the specicifies parameters, returns an array of Object\AbstractObject elements
loadIdList ( ) : array Loads a list of document ids for the specicifies parameters, returns an array of ids
onCreateQuery ( callable $callback )
reset ( )

Protected Methods

Method Description
addConditions ( Zend_DB_Select $select )
addJoins ( Zend_DB_Select $select )

Method Details

addConditions() protected method

protected addConditions ( Zend_DB_Select $select )
$select Zend_DB_Select

addJoins() protected method

protected addJoins ( Zend_DB_Select $select )
$select Zend_DB_Select

getCount() public method

public getCount ( ) : integer
return integer

getQuery() public method

get select query
public getQuery ( ) : Zend_Db_Select
return Zend_Db_Select

getTotalCount() public method

public getTotalCount ( ) : integer
return integer

load() public method

Loads a list of objects for the specicifies parameters, returns an array of Object\AbstractObject elements
public load ( ) : array
return array

loadIdList() public method

Loads a list of document ids for the specicifies parameters, returns an array of ids
public loadIdList ( ) : array
return array

onCreateQuery() public method

public onCreateQuery ( callable $callback )
$callback callable Callable

reset() public method

public reset ( )

Property Details

$onCreateQueryCallback protected property

function
protected $onCreateQueryCallback