odea/application/controllers/CriteresController.php
2012-01-16 20:33:06 +00:00

33 lines
751 B
PHP

<?php
class CriteresController extends Zend_Controller_Action
{
public function init()
{
$auth = Zend_Auth::getInstance();
$user = $auth->getIdentity();
$field = new Fields($user->username);
$this->view->fields = $field;
$this->view->headScript()->appendFile('/themes/default/scripts/jquery.jstree.js', 'text/javascript');
}
public function indexAction()
{
$auth = Zend_Auth::getInstance();
$user = $auth->getIdentity();
if ($user->customisation) {
$this->view->assign('preferences', $user->customisation);
}
}
public function entrepriseAction(){}
public function economiqueAction(){}
public function geographiqueAction(){}
public function juridiqueAction(){}
public function financiereAction(){}
}