Damien LASSERRE d0cac19a26 Version 1.1 de ODEA
Stable
2012-02-02 17:29:14 +00:00

23 lines
361 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);
}
}
}