interface SearchCriteriaInterface (View source)

Interface SearchCriteriaInterface

SearchCriteria and SearchCriterion objects must implement this interface.

Methods

public
void
appendPreparedStatementTo($ps)

The method used in all SearchCriterion to generate and append their filter query statements.

public
getAdapter()

No description

public
$this
setAdapter(SearchAdapterInterface $adapter)

No description

Details

void appendPreparedStatementTo($ps)

The method used in all SearchCriterion to generate and append their filter query statements.

This is also used in SearchCriteria to loop through it's collected SearchCriterion and append the above. This allows us to have SearchCriteria and SearchCriterion in the same collections (allowing us to have complex nested filtering).

Parameters

$ps

Return Value

void

SearchAdapterInterface getAdapter()

No description

Return Value

SearchAdapterInterface

$this setAdapter(SearchAdapterInterface $adapter)

No description

Parameters

SearchAdapterInterface $adapter

Return Value

$this