/** * Overrule to implement snippet specific filtering and sorting. * * @param \MUtil_Model_ModelAbstract $model */ protected function processFilterAndSort(\MUtil_Model_ModelAbstract $model) { if (false !== $this->searchFilter) { if (isset($this->searchFilter['limit'])) { $model->addFilter(array('limit' => $this->searchFilter['limit'])); unset($this->searchFilter['limit']); } $model->applyParameters($this->searchFilter, true); } elseif ($this->request instanceof \Zend_Controller_Request_Abstract) { $model->applyRequest($this->request, $this->removePost, $this->includeNumericFilters); } }