odea/application/modules/frontend/controllers/JuridiqueController.php
Damien LASSERRE d0cac19a26 Version 1.1 de ODEA
Stable
2012-02-02 17:29:14 +00:00

24 lines
514 B
PHP

<?php
class JuridiqueController extends Libs_Controller
{
public function init()
{
/* Initialize action controller here */
}
public function indexAction()
{
require_once('Scores/Field.php');
$this->view->headLink()->appendStylesheet('/styles/pages/'.$this->getRequest()->getControllerName().'.css', 'all');
$auth = Zend_Auth::getInstance();
$user = $auth->getIdentity();
$field = new Fields($user->username);
$this->view->fields = $field;
}
}