setTab($tab); } if (isset($options['panel'])) { $this->setPanel($panel); } } /** * Gets identifier for this plugin * * @return string */ public function getIdentifier() { return $this->_identifier; } /** * Sets identifier for this plugin * * @param string $name * @return ZFDebug_Controller_Plugin_Debug_Plugin_Text Provides a fluent interface */ public function setIdentifier($name) { $this->_identifier = $name; return $this; } /** * Returns the base64 encoded icon * * @return string **/ public function getIconData() { return $this->_icondata; } /** * Sets icon data for this plugin * * @param string $data * @return ZFDebug_Controller_Plugin_Debug_Plugin_Text Provides a fluent interface */ public function setIconData($data) { $this->_icondata = $data; return $this; } /** * Gets menu tab for the Debugbar * * @return string */ public function getTab() { return $this->_tab; } /** * Gets content panel for the Debugbar * * @return string */ public function getPanel() { return $this->_panel; } /** * Sets tab content * * @param string $tab * @return ZFDebug_Controller_Plugin_Debug_Plugin_Text Provides a fluent interface */ public function setTab($tab) { $this->_tab = $tab; return $this; } /** * Sets panel content * * @param string $panel * @return ZFDebug_Controller_Plugin_Debug_Plugin_Text Provides a fluent interface */ public function setPanel($panel) { $this->_panel = $panel; return $this; } }