This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Helper that builds a results array (with results and pagination info) | |
* It's same as getRows but it works for pgsql | |
* | |
* @param ModelConfig $config | |
* @param array $sort (with 'field' and 'direction' keys) | |
* @param array $filters (see Field::getFilters method for the value types) | |
*/ | |
public static function getRows($config, $sort = null, $filters = null) | |
{ |