class Doctrine_Query_Filter_Chain (View source)

Doctrine_Query_Filter_Chain

Properties

protected array $_filters

Methods

void
add(Doctrine_Query_Filter $filter)

add

mixed
get(mixed $key)

returns a Doctrine_Query_Filter on success and null on failure

void
set(mixed $key, Doctrine_Query_Filter $listener)

set

void
preQuery(Doctrine_Query $query)

preQuery

void
postQuery(Doctrine_Query $query)

postQuery

Details

void add(Doctrine_Query_Filter $filter)

add

Parameters

Doctrine_Query_Filter $filter

Return Value

void

mixed get(mixed $key)

returns a Doctrine_Query_Filter on success and null on failure

Parameters

mixed $key

Return Value

mixed

void set(mixed $key, Doctrine_Query_Filter $listener)

set

Parameters

mixed $key
Doctrine_Query_Filter $listener

Return Value

void

void preQuery(Doctrine_Query $query)

preQuery

Method for listening the preQuery method of Doctrine_Query and hooking into the query building procedure, doing any custom / specialized query building procedures that are neccessary.

Parameters

Doctrine_Query $query

Return Value

void

void postQuery(Doctrine_Query $query)

postQuery

Method for listening the postQuery method of Doctrine_Query and to hook into the query building procedure, doing any custom / specialized post query procedures (for example logging) that are neccessary.

Parameters

Doctrine_Query $query

Return Value

void