original_string: public function getPanel()
      {
          $request = Zend_Controller_Front::getInstance()->getRequest();
          $module = $request->getModuleName();
          if ('default' !== $module) {
              $module = " ($module module)";
          } else {
              $module = '';
          }
          $controller = $request->getControllerName();
          $action = $request->getActionName();
  
          $panel = "<h4>Event log for {$controller}Controller->{$action}Action() {$module}</h4>";
          $panel .= '<table cellpadding="0" cellspacing="0">'.implode('', $this->_writer->getMessages()).'</table>';
          return $panel;
      }
code: public function getPanel()
      {
          $request = Zend_Controller_Front::getInstance()->getRequest();
          $module = $request->getModuleName();
          if ('default' !== $module) {
              $module = " ($module module)";
          } else {
              $module = '';
          }
          $controller = $request->getControllerName();
          $action = $request->getActionName();
  
          $panel = "<h4>Event log for {$controller}Controller->{$action}Action() {$module}</h4>";
          $panel .= '<table cellpadding="0" cellspacing="0">'.implode('', $this->_writer->getMessages()).'</table>';
          return $panel;
      }
code_tokens: public function getPanel ( ) { $ request = Zend_Controller_Front :: getInstance ( ) -> getRequest ( ) ; $ module = $ request -> getModuleName ( ) ; if ( 'default' !== $ module ) { $ module = " ($module module)" ; } else { $ module = '' ; } $ controller = $ request -> getControllerName ( ) ; $ action = $ request -> getActionName ( ) ; $ panel = "<h4>Event log for {$controller}Controller->{$action}Action() {$module}</h4>" ; $ panel .= '<table cellpadding="0" cellspacing="0">' . implode ( '' , $ this -> _writer -> getMessages ( ) ) . '</table>' ; return $ panel ; }
docstring: Has to return html code for the content panel
  
  @return string
docstring_tokens: Has to return html code for the content panel