コード例 #1
0
ファイル: Facebook.php プロジェクト: tmaiaroto/li3_facebook
 public function _init()
 {
     parent::_init();
     // Get some required values
     $facebook_config = Libraries::get('li3_facebook');
     if (!empty($facebook_config)) {
         extract($facebook_config);
     }
     $this->facebook_app_id = isset($appId) ? $appId : false;
     $this->facebook_locale = isset($locale) ? $locale : 'en_US';
 }
コード例 #2
0
ファイル: Docs.php プロジェクト: unionofrad/li3_docs
 protected function _init()
 {
     parent::_init();
     $this->_libraryConfig = Libraries::get('li3_docs');
     $this->_baseUrl = $this->_libraryConfig['url'];
 }
コード例 #3
0
 /**
  * Gallery init.
  *
  * @return void
  */
 protected function _init()
 {
     parent::_init();
     $this->_getGalleryFiles();
 }
コード例 #4
0
ファイル: Markdown.php プロジェクト: unionofrad/li3_docs
 protected function _init()
 {
     parent::_init();
     $this->_parser = new GithubMarkdown();
     $this->_parser->html5 = true;
 }
コード例 #5
0
ファイル: Html.php プロジェクト: CINEMUR/li3_themes
 public function _init()
 {
     parent::_init();
     $this->_theme = isset($this->_context->_config['theme']) ? $this->_context->_config['theme'] : $this->_theme;
 }