Add logger var
This commit is contained in:
parent
af0d432680
commit
3f814645e5
@ -3,6 +3,12 @@ class AideController extends Zend_Controller_Action
|
||||
{
|
||||
protected $theme;
|
||||
|
||||
/**
|
||||
* Logger
|
||||
* @var \Monolog\Logger
|
||||
*/
|
||||
protected $logger;
|
||||
|
||||
public function init()
|
||||
{
|
||||
// --- Theme
|
||||
|
@ -14,6 +14,12 @@ class AuthController extends Zend_Controller_Action
|
||||
)
|
||||
);
|
||||
|
||||
/**
|
||||
* Logger
|
||||
* @var \Monolog\Logger
|
||||
*/
|
||||
protected $logger;
|
||||
|
||||
public function init()
|
||||
{
|
||||
// --- Theme
|
||||
|
@ -3,6 +3,12 @@ class BdfController extends Zend_Controller_Action
|
||||
{
|
||||
protected $theme;
|
||||
|
||||
/**
|
||||
* Logger
|
||||
* @var \Monolog\Logger
|
||||
*/
|
||||
protected $logger;
|
||||
|
||||
public function init()
|
||||
{
|
||||
// --- Theme
|
||||
|
@ -101,6 +101,12 @@ class DashboardController extends Zend_Controller_Action
|
||||
'aUA' => 'ATTESTATION DU CONJOINT COMMUN EN BIENS',
|
||||
);
|
||||
|
||||
/**
|
||||
* Logger
|
||||
* @var \Monolog\Logger
|
||||
*/
|
||||
protected $logger;
|
||||
|
||||
/**
|
||||
* Return a ramdom password
|
||||
* @param int $length
|
||||
|
@ -5,6 +5,12 @@ class DirigeantController extends Zend_Controller_Action
|
||||
protected $siret;
|
||||
protected $id;
|
||||
|
||||
/**
|
||||
* Logger
|
||||
* @var \Monolog\Logger
|
||||
*/
|
||||
protected $logger;
|
||||
|
||||
public function init()
|
||||
{
|
||||
// --- Theme
|
||||
|
@ -3,6 +3,12 @@ class ErrorController extends Zend_Controller_Action
|
||||
{
|
||||
protected $theme;
|
||||
|
||||
/**
|
||||
* Logger
|
||||
* @var \Monolog\Logger
|
||||
*/
|
||||
protected $logger;
|
||||
|
||||
public function init()
|
||||
{
|
||||
// --- Theme
|
||||
|
@ -5,6 +5,12 @@ class EvaluationController extends Zend_Controller_Action
|
||||
protected $siret = null;
|
||||
protected $id = 0;
|
||||
|
||||
/**
|
||||
* Logger
|
||||
* @var \Monolog\Logger
|
||||
*/
|
||||
protected $logger;
|
||||
|
||||
public function init()
|
||||
{
|
||||
// --- Theme
|
||||
|
@ -5,6 +5,12 @@ class FinanceController extends Zend_Controller_Action
|
||||
protected $siret = null;
|
||||
protected $id = 0;
|
||||
|
||||
/**
|
||||
* Logger
|
||||
* @var \Monolog\Logger
|
||||
*/
|
||||
protected $logger;
|
||||
|
||||
public function init()
|
||||
{
|
||||
// --- Theme
|
||||
@ -1042,10 +1048,10 @@ class FinanceController extends Zend_Controller_Action
|
||||
} else {
|
||||
$infos = $this->getRequest()->getParam('infos');
|
||||
}
|
||||
|
||||
|
||||
$user = new Scores_Utilisateur();
|
||||
$this->view->assign('edition', $user->checkModeEdition());
|
||||
|
||||
|
||||
|
||||
$entreprise = new Scores_Session_Entreprise($this->siret, $this->id);
|
||||
$this->view->assign('banques', $infos->result->item);
|
||||
|
@ -40,6 +40,11 @@ class GiantController extends Zend_Controller_Action
|
||||
'NL' => 'The Netherlands',
|
||||
);
|
||||
|
||||
/**
|
||||
* Logger
|
||||
* @var \Monolog\Logger
|
||||
*/
|
||||
protected $logger;
|
||||
|
||||
public function init()
|
||||
{
|
||||
@ -409,7 +414,7 @@ class GiantController extends Zend_Controller_Action
|
||||
{
|
||||
$this->_helper->layout()->disableLayout();
|
||||
$this->view->headScript()->appendFile($this->theme->pathScript.'/giant_monitoring.js', 'text/javascript');
|
||||
$this->view->headScript()->appendFile$this->theme->pathScript.'/giant.js', 'text/javascript');
|
||||
$this->view->headScript()->appendFile($this->theme->pathScript.'/giant.js', 'text/javascript');
|
||||
$auth = Zend_Auth::getInstance();
|
||||
$identity = $auth->getIdentity();
|
||||
$result = $auth->getStorage()->read($identity);
|
||||
|
@ -5,6 +5,12 @@ class IdentiteController extends Zend_Controller_Action
|
||||
protected $siret = null;
|
||||
protected $id = 0;
|
||||
|
||||
/**
|
||||
* Logger
|
||||
* @var \Monolog\Logger
|
||||
*/
|
||||
protected $logger;
|
||||
|
||||
public function init()
|
||||
{
|
||||
// --- Theme
|
||||
|
@ -3,6 +3,12 @@ class IndexController extends Zend_Controller_Action
|
||||
{
|
||||
protected $theme;
|
||||
|
||||
/**
|
||||
* Logger
|
||||
* @var \Monolog\Logger
|
||||
*/
|
||||
protected $logger;
|
||||
|
||||
/**
|
||||
* Page d'accueil et de redirection
|
||||
*/
|
||||
|
@ -5,6 +5,12 @@ class JuridiqueController extends Zend_Controller_Action
|
||||
protected $siret = null;
|
||||
protected $id = 0;
|
||||
|
||||
/**
|
||||
* Logger
|
||||
* @var \Monolog\Logger
|
||||
*/
|
||||
protected $logger;
|
||||
|
||||
public function init()
|
||||
{
|
||||
// --- Theme
|
||||
|
@ -4,6 +4,12 @@ class LogoController extends Zend_Controller_Action
|
||||
protected $theme;
|
||||
protected $pathLogo = '';
|
||||
|
||||
/**
|
||||
* Logger
|
||||
* @var \Monolog\Logger
|
||||
*/
|
||||
protected $logger;
|
||||
|
||||
public function init()
|
||||
{
|
||||
// --- Theme
|
||||
|
@ -54,6 +54,12 @@ class MandataireController extends Zend_Controller_Action
|
||||
array( "triId"=>"1798", "triCode"=>"AGENL", "triNom"=>"Cour d'Appel d'Agen", "triCP"=>"47916" ),
|
||||
);
|
||||
|
||||
/**
|
||||
* Logger
|
||||
* @var \Monolog\Logger
|
||||
*/
|
||||
protected $logger;
|
||||
|
||||
public function init()
|
||||
{
|
||||
// --- Theme
|
||||
|
@ -3,6 +3,12 @@ class OrderController extends Zend_Controller_Action
|
||||
{
|
||||
protected $theme;
|
||||
|
||||
/**
|
||||
* Logger
|
||||
* @var \Monolog\Logger
|
||||
*/
|
||||
protected $logger;
|
||||
|
||||
public function init()
|
||||
{
|
||||
// --- Theme
|
||||
|
@ -18,6 +18,12 @@ class PiecesController extends Zend_Controller_Action
|
||||
protected $siret;
|
||||
protected $id;
|
||||
|
||||
/**
|
||||
* Logger
|
||||
* @var \Monolog\Logger
|
||||
*/
|
||||
protected $logger;
|
||||
|
||||
public function init()
|
||||
{
|
||||
// --- Theme
|
||||
|
@ -3,6 +3,12 @@ class PrintController extends Zend_Controller_Action
|
||||
{
|
||||
protected $theme;
|
||||
|
||||
/**
|
||||
* Logger
|
||||
* @var \Monolog\Logger
|
||||
*/
|
||||
protected $logger;
|
||||
|
||||
public function init()
|
||||
{
|
||||
// --- Theme
|
||||
|
@ -3,6 +3,12 @@ class RechercheController extends Zend_Controller_Action
|
||||
{
|
||||
protected $theme;
|
||||
|
||||
/**
|
||||
* Logger
|
||||
* @var \Monolog\Logger
|
||||
*/
|
||||
protected $logger;
|
||||
|
||||
public function init()
|
||||
{
|
||||
// --- Theme
|
||||
|
@ -230,10 +230,6 @@ class SaisieController extends Zend_Controller_Action
|
||||
* Genre
|
||||
* @var array
|
||||
*/
|
||||
/**
|
||||
* civilité en dur
|
||||
* @todo verifier si liste à jour civilité
|
||||
*/
|
||||
protected $selectGenre = array(
|
||||
'' => '-',
|
||||
'M.' => 'M',
|
||||
@ -242,6 +238,12 @@ class SaisieController extends Zend_Controller_Action
|
||||
'Societe' => 'STE'
|
||||
);
|
||||
|
||||
/**
|
||||
* Logger
|
||||
* @var \Monolog\Logger
|
||||
*/
|
||||
protected $logger;
|
||||
|
||||
public function init()
|
||||
{
|
||||
// --- Theme
|
||||
|
@ -35,6 +35,12 @@ class SurveillanceController extends Zend_Controller_Action
|
||||
'liens' => 'survliens',
|
||||
);
|
||||
|
||||
/**
|
||||
* Logger
|
||||
* @var \Monolog\Logger
|
||||
*/
|
||||
protected $logger;
|
||||
|
||||
public function init()
|
||||
{
|
||||
// --- Theme
|
||||
|
@ -13,6 +13,12 @@ class TelechargementController extends Zend_Controller_Action
|
||||
*/
|
||||
protected $path = '';
|
||||
|
||||
/**
|
||||
* Logger
|
||||
* @var \Monolog\Logger
|
||||
*/
|
||||
protected $logger;
|
||||
|
||||
public function init()
|
||||
{
|
||||
$this->_helper->layout()->disableLayout();
|
||||
|
@ -28,6 +28,12 @@ class UserController extends Zend_Controller_Action
|
||||
return $new_password;
|
||||
}
|
||||
|
||||
/**
|
||||
* Logger
|
||||
* @var \Monolog\Logger
|
||||
*/
|
||||
protected $logger;
|
||||
|
||||
public function init()
|
||||
{
|
||||
// --- Theme
|
||||
|
@ -4,6 +4,12 @@ class WorldcheckController extends Zend_Controller_Action
|
||||
protected $theme;
|
||||
protected $wcConfig;
|
||||
|
||||
/**
|
||||
* Logger
|
||||
* @var \Monolog\Logger
|
||||
*/
|
||||
protected $logger;
|
||||
|
||||
public function init()
|
||||
{
|
||||
// --- Theme
|
||||
|
Loading…
Reference in New Issue
Block a user