odea/application/modules/frontend/controllers/JuridiqueController.php

31 lines
794 B
PHP
Raw Normal View History

2012-02-02 17:29:14 +00:00
<?php
class JuridiqueController extends Libs_Controller
{
public function init()
{
/* Initialize action controller here */
}
public function indexAction()
{
require_once('Scores/Field.php');
2012-02-15 10:35:07 +00:00
$this->view->headLink()->appendStylesheet('/themes/default/styles/'.$this->getRequest()->getControllerName().'.css', 'all');
2012-02-02 17:29:14 +00:00
$auth = Zend_Auth::getInstance();
$user = $auth->getIdentity();
$field = new Fields($user->username);
$this->view->fields = $field;
}
2012-02-15 09:25:21 +00:00
public function resetAction()
{
$this->_helper->layout()->disableLayout();
$this->_helper->viewRenderer->setNoRender();
require_once('Scores/SessionCiblage.php');
$session = new SessionCiblage();
$session->resetFamille('juridique');
}
2012-02-02 17:29:14 +00:00
}