There are other ways, but it might not be unfeasible to create a
listQuery action helper which would combine the search helper's query
and the controllers DQL. E.g in the Story controller
$query = $this->_helper->pagerQuery('Model_Entity_Story_PagerQuery', true);
$pager = $this->_helper->pagination($query);
Where the pagerQuery helper creates a Model_Entity_Story_PagerQuery
that is a Doctrine_Query object which can then be passed to the
pagination helper (Doctrine_Pager). Alternatively,
$pager = $this->_helper->pager('Model_Entity_Story_PagerQuery', true);
Where the search and pagination helpers assign the respective
properties to the Query object.
--
Greg
--
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]