/** Set up data for coroners index page
  * @access public
  * @return void
  */
 public function indexAction()
 {
     $coroners = $this->_coroners->getAll($this->getAllParams());
     if (in_array($this->_helper->contextSwitch()->getCurrentContext(), array('kml'))) {
         $this->_coroners->setItemCountPerPage(150);
     }
     $this->view->coroners = $coroners;
 }
Example #2
0
 /** Get the coroners data for mapping
  * @access public
  * @return void
  */
 public function coronersAction()
 {
     $data = $this->_coroners->getAll($this->getAllParams());
     $details = $data->setItemCountPerPage(150);
     $this->view->coroners = $details;
 }
 /** Display index page of coroners
  * @access public
  * @return void
  */
 public function indexAction()
 {
     $this->view->coroners = $this->_coroners->getAll($this->getAllParams());
 }