29 lines
705 B
PHP
29 lines
705 B
PHP
<?php
|
|
|
|
class JuridiqueController 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');
|
|
$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('juridique');
|
|
}
|
|
}
|
|
|