/**
   * Constructor.
   *
   * @param sfWebDebug $webDebug The web debug toolbar instance
   */
  public function __construct(sfWebDebug $webDebug)
  {
    parent::__construct($webDebug);

    $this->webDebug->getEventDispatcher()->connect('controller.change_action', array($this, 'listenForChangeAction'));
    $this->webDebug->getEventDispatcher()->connect('template.filter_parameters', array($this, 'filterTemplateParameters'));
  }
 /**
  * Constructor.
  *
  * @param sfWebDebug $webDebug The web debut toolbar instance
  */
 public function __construct(sfWebDebug $webDebug)
 {
     parent::__construct($webDebug);
     $this->webDebug->getEventDispatcher()->connect('debug.web.filter_logs', array($this, 'filterLogs'));
 }
Ejemplo n.º 3
0
 /**
  * Constructor.
  *
  * @param sfWebDebug $webDebug The web debug toolbar instance
  */
 public function __construct(sfWebDebug $webDebug)
 {
     parent::__construct($webDebug);
     $this->webDebug->getEventDispatcher()->connect('mailer.configure', array($this, 'listenForMailerConfigure'));
 }