2012-02-15 09:25:21 +00:00

30 lines
602 B
PHP

<?php
Class IndexController extends Libs_Controller
{
public function init()
{
/* 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';
$session = new SessionCiblage();
$this->view->criteres = $session->getCriteres();
}
}