Ejemplo n.º 1
0
 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';
 }
Ejemplo n.º 2
0
 protected function _init()
 {
     parent::_init();
     $this->_libraryConfig = Libraries::get('li3_docs');
     $this->_baseUrl = $this->_libraryConfig['url'];
 }
Ejemplo n.º 3
0
 /**
  * Gallery init.
  *
  * @return void
  */
 protected function _init()
 {
     parent::_init();
     $this->_getGalleryFiles();
 }
Ejemplo n.º 4
0
 protected function _init()
 {
     parent::_init();
     $this->_parser = new GithubMarkdown();
     $this->_parser->html5 = true;
 }
Ejemplo n.º 5
0
 public function _init()
 {
     parent::_init();
     $this->_theme = isset($this->_context->_config['theme']) ? $this->_context->_config['theme'] : $this->_theme;
 }