示例#1
0
文件: Module.php 项目: sawan34/tanzi
 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
文件: Module.php 项目: sawan34/tanzi
 /**
  * {@inheritdoc}
  */
 public function onInit()
 {
     parent::onInit();
     $this->registerAjaxRequestHandler();
     $this->update();
 }
示例#6
0
 /**
  * {@inheritdoc}
  */
 public function onInit()
 {
     parent::onInit();
     $this->assets = array();
 }