Exemplo n.º 1
0
 /**
  * 
  */
 public function listAction()
 {
     $this->_helper->layout()->disableLayout();
     $this->view->rows = $this->_mapper->listAll();
 }
 /**
  * 
  */
 public function searchMiniGroupAction()
 {
     $mapperMiniGroup = new Register_Model_Mapper_ProfMiniGroup();
     $rows = $mapperMiniGroup->listAll($this->_getParam('id'));
     $opts = array(array('id' => '', 'name' => ''));
     foreach ($rows as $row) {
         $opts[] = array('id' => $row->id_profminigroup, 'name' => $row->acronym . ' - ' . $row->mini_group);
     }
     $this->_helper->json($opts);
 }