/** Render the index page
  */
 public function indexAction()
 {
     $volunteers = new Volunteers();
     $vols = $volunteers->getCurrentOpps($this->_getAllParams());
     $contexts = array('json', 'xml');
     if (in_array($this->_helper->contextSwitch()->getCurrentContext(), $contexts)) {
         $data = array('pageNumber' => $vols->getCurrentPageNumber(), 'total' => number_format($vols->getTotalItemCount(), 0), 'itemsReturned' => $vols->getCurrentItemCount(), 'totalPages' => number_format($vols->getTotalItemCount() / $vols->getItemCountPerPage(), 0));
         $this->view->data = $data;
         $volsa = array();
         foreach ($vols as $k => $v) {
             $volsa[$k] = $v;
         }
         $this->view->vols = $volsa;
     } else {
         $this->view->vols = $vols;
     }
 }
 /** Setup the contexts by action and the ACL.
  * @access public
  * @return void
  */
 public function indexAction()
 {
     $this->view->opps = $this->_volunteers->getCurrentOpps($this->getParam('page'));
 }
 /** Render the index page
  * @access public
  * @return void
  */
 public function indexAction()
 {
     $this->view->vols = $this->_volunteers->getCurrentOpps($this->getAllParams());
 }