27 lines
566 B
PHP
27 lines
566 B
PHP
<?php
|
|
class FinancierController extends Zend_Controller_Action
|
|
{
|
|
|
|
public function init()
|
|
{
|
|
/* Initialize action controller here */
|
|
}
|
|
|
|
public function indexAction()
|
|
{
|
|
$auth = Zend_Auth::getInstance();
|
|
$user = $auth->getIdentity();
|
|
$field = new Scores_Fields();
|
|
$this->view->fields = $field;
|
|
}
|
|
|
|
public function resetAction()
|
|
{
|
|
$this->_helper->layout()->disableLayout();
|
|
$this->_helper->viewRenderer->setNoRender();
|
|
$fields = new Scores_Fields();
|
|
$fields->resetFamille('financier');
|
|
}
|
|
}
|
|
|