get_qb()
get_qb(string $field = null, string $direction = 'ASC', array $search = array()) : \midcom_core_query
Get the query builder for the resultset
Parameters
string | $field | Optional ordering field |
string | $direction | Optional ordering direction |
array | $search | Optional search filters |
Returns
\midcom_core_query —QB or MC instance