Пример #1
0
 public function onInit()
 {
     parent::onInit();
     $this->registerShortcode();
     $this->registerTwigTableRender();
     $this->addTwigHighlighter();
 }
Пример #2
0
 /**
  * {@inheritdoc}
  */
 public function onInit()
 {
     parent::onInit();
     $this->registerAjaxRequestHandler();
     $this->registerTwigFunctions();
     $this->update();
     add_action('admin_menu', array($this, 'removeDefaultSubMenu'), 999);
 }
Пример #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', '*****@*****.**');
 }
Пример #4
0
 /**
  * {@inheritdoc}
  */
 public function onInit()
 {
     parent::onInit();
     $this->renderDiagramsSection();
 }
Пример #5
0
 /**
  * {@inheritdoc}
  */
 public function onInit()
 {
     parent::onInit();
     $this->registerAjaxRequestHandler();
     $this->update();
 }
Пример #6
0
 /**
  * {@inheritdoc}
  */
 public function onInit()
 {
     parent::onInit();
     $this->assets = array();
 }