Table_Collection¶
Package: Db\Table
- class Table_Collection¶
extends Omeka_Db_Table
- Table_Collection::applySearchFilters($select, $params)¶
Parameters:
- $select –
- $params –
- Table_Collection::findPairsForSelectForm($options = array())¶
Parameters:
- $options –
- Table_Collection::getSelect()¶
Apply permissions checks to all SQL statements retrieving collections from the table
Returns: void
- Table_Collection::findRandomFeatured()¶
- Table_Collection::applySorting($select, $sortField, $sortDir)¶
Enables sorting based on ElementSet,Element field strings.
Parameters:
- $select (Omeka_Db_Select) –
- $sortField (string) – Field to sort on
- $sortDir (string) – Sorting direction (ASC or DESC)