Esempio n. 1
0
 public function onInit()
 {
     parent::onInit();
     $this->registerShortcode();
     $this->registerTwigTableRender();
     $this->addTwigHighlighter();
 }
Esempio n. 2
0
 /**
  * {@inheritdoc}
  */
 public function onInit()
 {
     parent::onInit();
     $this->registerAjaxRequestHandler();
     $this->registerTwigFunctions();
     $this->update();
     add_action('admin_menu', array($this, 'removeDefaultSubMenu'), 999);
 }
Esempio n. 3
0
 public function onInit()
 {
     parent::onInit();
     $this->registerMenu();
     $config = $this->getEnvironment()->getConfig();
     $config->add('post_url', 'http://supsystic.com/news/main.html');
     $config->add('mail', '*****@*****.**');
 }
Esempio n. 4
0
 /**
  * {@inheritdoc}
  */
 public function onInit()
 {
     parent::onInit();
     $this->renderDiagramsSection();
 }
Esempio n. 5
0
 /**
  * {@inheritdoc}
  */
 public function onInit()
 {
     parent::onInit();
     $this->registerAjaxRequestHandler();
     $this->update();
 }
Esempio n. 6
0
 /**
  * {@inheritdoc}
  */
 public function onInit()
 {
     parent::onInit();
     $this->assets = array();
 }