Exemple #1
0
 /**
  * Sets panel content
  *
  * @param string $panel
  * @return ZFirebug_Controller_Plugin_Debug_Plugin_Text Provides a fluent interface
  */
 public function setPanel($panel)
 {
     $this->_panel = $panel;
     $this->message->setMessage($panel);
     return $this;
 }
Exemple #2
0
 /**
  * Gets content panel for the Debugbar
  *
  * @return string
  */
 public function getPanel()
 {
     $body = Zend_Controller_Front::getInstance()->getResponse()->getBody();
     $this->message->setMessage(round(strlen($body) / 1024, 2) . 'K');
 }