odea/application/controllers/FinancierController.php

27 lines
566 B
PHP
Raw Normal View History

2012-02-02 17:29:14 +00:00
<?php
2012-05-02 18:19:07 +00:00
class FinancierController extends Zend_Controller_Action
2012-02-02 17:29:14 +00:00
{
public function init()
{
/* Initialize action controller here */
}
public function indexAction()
{
$auth = Zend_Auth::getInstance();
$user = $auth->getIdentity();
$field = new Scores_Fields();
2012-02-02 17:29:14 +00:00
$this->view->fields = $field;
}
2012-02-15 09:25:21 +00:00
public function resetAction()
{
$this->_helper->layout()->disableLayout();
$this->_helper->viewRenderer->setNoRender();
2012-05-14 08:02:57 +00:00
$fields = new Scores_Fields();
$fields->resetFamille('financier');
2012-02-15 09:25:21 +00:00
}
2012-02-02 17:29:14 +00:00
}