view->headScript() ->appendFile('/themes/default/scripts/jquery.jstree.js', 'text/javascript') ->appendFile('/themes/default/scripts/fields.js', 'text/javascript') ->appendFile('/themes/default/scripts/autocompleted.js', 'text/javascript'); /* Initialize action controller here */ } public function indexAction() { $auth = Zend_Auth::getInstance(); $user = $auth->getIdentity(); if ($user->customisation) { $this->view->assign('preferences', $user->customisation); } } public function criteresAction() { $this->_helper->layout()->disableLayout(); require_once 'Scores/SessionCiblage.php'; require_once 'Scores/Field.php'; $session = new SessionCiblage(); $this->view->field = new Fields(); $this->view->criteres = $session->getCriteres(); } }