2012-02-02 17:29:14 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
class FinancierController extends Libs_Controller
|
|
|
|
{
|
|
|
|
|
|
|
|
public function init()
|
|
|
|
{
|
|
|
|
/* Initialize action controller here */
|
|
|
|
}
|
|
|
|
|
|
|
|
public function indexAction()
|
|
|
|
{
|
|
|
|
require_once('Scores/Field.php');
|
2012-02-15 09:25:21 +00:00
|
|
|
$this->view->headLink()->appendStylesheet('/themes/default/styles/pages/'.$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('financier');
|
|
|
|
}
|
2012-02-02 17:29:14 +00:00
|
|
|
}
|
|
|
|
|