コード例 #1
0
ファイル: Module.php プロジェクト: sawan34/tanzi
 public function onInit()
 {
     parent::onInit();
     $this->registerShortcode();
     $this->registerTwigTableRender();
     $this->addTwigHighlighter();
 }
コード例 #2
0
ファイル: Module.php プロジェクト: satishux/fitnesshack
 /**
  * {@inheritdoc}
  */
 public function onInit()
 {
     parent::onInit();
     $this->registerAjaxRequestHandler();
     $this->registerTwigFunctions();
     $this->update();
     add_action('admin_menu', array($this, 'removeDefaultSubMenu'), 999);
 }
コード例 #3
0
ファイル: Module.php プロジェクト: satishux/fitnesshack
 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
ファイル: Module.php プロジェクト: satishux/fitnesshack
 /**
  * {@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
ファイル: Module.php プロジェクト: satishux/fitnesshack
 /**
  * {@inheritdoc}
  */
 public function onInit()
 {
     parent::onInit();
     $this->assets = array();
 }