<?php

class FinancierController extends Libs_Controller
{

    public function init()
    {
        /* Initialize action controller here */
    }

    public function indexAction()
    {
    	require_once('Scores/Field.php');
        $this->view->headLink()->appendStylesheet('/themes/default/styles/'.$this->getRequest()->getControllerName().'.css', 'all');
    	$auth = Zend_Auth::getInstance();
    	$user = $auth->getIdentity();
    	$field = new Fields();
    	$this->view->fields = $field;
    }

	public function resetAction()
    {
    	$this->_helper->layout()->disableLayout();
    	$this->_helper->viewRenderer->setNoRender();
    	require_once('Scores/SessionCiblage.php');
    	$session = new SessionCiblage();
    	$session->resetFamille('financier');
    }
}