Add logger var

This commit is contained in:
Michael RICOIS 2017-02-13 12:02:09 +01:00
parent af0d432680
commit 3f814645e5
23 changed files with 140 additions and 7 deletions

View File

@ -3,6 +3,12 @@ class AideController extends Zend_Controller_Action
{
protected $theme;
/**
* Logger
* @var \Monolog\Logger
*/
protected $logger;
public function init()
{
// --- Theme

View File

@ -14,6 +14,12 @@ class AuthController extends Zend_Controller_Action
)
);
/**
* Logger
* @var \Monolog\Logger
*/
protected $logger;
public function init()
{
// --- Theme

View File

@ -3,6 +3,12 @@ class BdfController extends Zend_Controller_Action
{
protected $theme;
/**
* Logger
* @var \Monolog\Logger
*/
protected $logger;
public function init()
{
// --- Theme

View File

@ -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

View File

@ -5,6 +5,12 @@ class DirigeantController extends Zend_Controller_Action
protected $siret;
protected $id;
/**
* Logger
* @var \Monolog\Logger
*/
protected $logger;
public function init()
{
// --- Theme

View File

@ -3,6 +3,12 @@ class ErrorController extends Zend_Controller_Action
{
protected $theme;
/**
* Logger
* @var \Monolog\Logger
*/
protected $logger;
public function init()
{
// --- Theme

View File

@ -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

View File

@ -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

View File

@ -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);

View File

@ -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

View File

@ -3,6 +3,12 @@ class IndexController extends Zend_Controller_Action
{
protected $theme;
/**
* Logger
* @var \Monolog\Logger
*/
protected $logger;
/**
* Page d'accueil et de redirection
*/

View File

@ -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

View File

@ -4,6 +4,12 @@ class LogoController extends Zend_Controller_Action
protected $theme;
protected $pathLogo = '';
/**
* Logger
* @var \Monolog\Logger
*/
protected $logger;
public function init()
{
// --- Theme

View File

@ -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

View File

@ -3,6 +3,12 @@ class OrderController extends Zend_Controller_Action
{
protected $theme;
/**
* Logger
* @var \Monolog\Logger
*/
protected $logger;
public function init()
{
// --- Theme

View File

@ -18,6 +18,12 @@ class PiecesController extends Zend_Controller_Action
protected $siret;
protected $id;
/**
* Logger
* @var \Monolog\Logger
*/
protected $logger;
public function init()
{
// --- Theme

View File

@ -3,6 +3,12 @@ class PrintController extends Zend_Controller_Action
{
protected $theme;
/**
* Logger
* @var \Monolog\Logger
*/
protected $logger;
public function init()
{
// --- Theme

View File

@ -3,6 +3,12 @@ class RechercheController extends Zend_Controller_Action
{
protected $theme;
/**
* Logger
* @var \Monolog\Logger
*/
protected $logger;
public function init()
{
// --- Theme

View File

@ -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

View File

@ -35,6 +35,12 @@ class SurveillanceController extends Zend_Controller_Action
'liens' => 'survliens',
);
/**
* Logger
* @var \Monolog\Logger
*/
protected $logger;
public function init()
{
// --- Theme

View File

@ -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();

View File

@ -28,6 +28,12 @@ class UserController extends Zend_Controller_Action
return $new_password;
}
/**
* Logger
* @var \Monolog\Logger
*/
protected $logger;
public function init()
{
// --- Theme

View File

@ -4,6 +4,12 @@ class WorldcheckController extends Zend_Controller_Action
protected $theme;
protected $wcConfig;
/**
* Logger
* @var \Monolog\Logger
*/
protected $logger;
public function init()
{
// --- Theme