Exemplo n.º 1
0
 public function indexAction()
 {
     $auth = Zend_Auth::getInstance();
     if ($auth->hasIdentity()) {
         $identity = $auth->getIdentity();
         $zitAdmin = new ZitAdmin($identity);
         $this->view->zitName = $zitAdmin->zit->zitName;
         $dataObjectGroups = DataObjectGroup::getAllDataObjectGroups();
         $this->view->dataObjectGroups = $dataObjectGroups;
     } else {
         return $this->_forward('index', 'index', null);
     }
 }