<model>_browse_sql

Usage

Alters the Omeka_Db_Select object when finding records of type <model> using the Omeka_Db_Table::findBy method.

<model> should be the plural name of the model, e.g. items_browse_sql

Arguments

Omeka_Db_Select select
The select object
array params
The parameters being used to build the select object. For web requests, GET parameters and Zend routing params will appear in this array. For internal queries, the params here will be the ones passed to Omeka_Db_Table::findBy.

Examples