Exemplo n.º 1
0
 /**
  * @see FWS_Module::init()
  *
  * @param FWS_Document $doc
  */
 public function init($doc)
 {
     parent::init($doc);
     $renderer = $doc->use_default_renderer();
     $renderer->add_breadcrumb('Types', PC_URL::build_mod_url());
     // init submodule
     $this->sub->init($doc);
 }
Exemplo n.º 2
0
 /**
  * @see FWS_Module::init()
  *
  * @param FWS_Document $doc
  */
 public function init($doc)
 {
     parent::init($doc);
     $renderer = $doc->use_default_renderer();
     $renderer->add_breadcrumb('PHP-reference scanner', PC_URL::build_mod_url('phpref'));
     // init submodule
     $this->sub->init($doc);
 }
Exemplo n.º 3
0
 /**
  * @see FWS_Module::init()
  *
  * @param FWS_Document $doc
  */
 public function init($doc)
 {
     parent::init($doc);
     $renderer = $doc->use_default_renderer();
     $renderer->add_breadcrumb('Statement scanner', PC_URL::build_mod_url('stmtscan'));
     // init submodule
     $this->sub->init($doc);
     if (FWS_Props::get()->project() === null) {
         $this->report_error(FWS_Document_Messages::ERROR, 'Please create and select a project first!');
     }
 }