public function TripalField::queryOrder
3.x TripalField.inc | public TripalField::queryOrder($query, $order) |
Used to sort records that have been filtered.
Parameters
$query: A query object appropriate for the data storage backend. For example, The Tripal Chado module will provide a SelectQuery object.
$order: The field ordering as set in the TripalFieldQuery object. This function should handle the ordering request as specified by this object.
1 method overrides TripalField::queryOrder()
- ChadoField::queryOrder in tripal_chado/
includes/ TripalFields/ ChadoField.inc
File
- tripal/
includes/ TripalFields/ TripalField.inc, line 745
Class
Code
public function queryOrder($query, $order) {
}