Ejemplo n.º 1
0
 /**
  * constructor..
  */
 function __construct()
 {
     global $gJConfig;
     $this->_charset = $gJConfig->charset;
     $this->content = new jTpl();
     parent::__construct();
 }
Ejemplo n.º 2
0
 /**
  * Class constructor
  */
 function __construct()
 {
     global $gJConfig;
     $this->charset = $gJConfig->charset;
     list($lang, $country) = explode('_', $gJConfig->locale);
     $this->lang = $lang;
     parent::__construct();
 }
 function __construct()
 {
     $this->_charset = jApp::config()->charset;
     $this->_lang = jApp::config()->locale;
     $plugins = jApp::config()->jResponseHtml['plugins'];
     if ($plugins) {
         $plugins = preg_split('/ *, */', $plugins);
         foreach ($plugins as $name) {
             if (!$name) {
                 continue;
             }
             $plugin = jApp::loadPlugin($name, 'htmlresponse', '.htmlresponse.php', $name . 'HTMLResponsePlugin', $this);
             if ($plugin) {
                 $this->plugins[$name] = $plugin;
             }
         }
     }
     parent::__construct();
 }
Ejemplo n.º 4
0
 /**
  * constructor;
  * setup the charset, the lang
  */
 function __construct()
 {
     $this->_charset = jApp::config()->charset;
     $this->_lang = jApp::config()->locale;
     // load plugins
     $plugins = jApp::config()->jResponseHtml['plugins'];
     if ($plugins) {
         $plugins = preg_split('/ *, */', $plugins);
         foreach ($plugins as $name) {
             if (!$name) {
                 continue;
             }
             $plugin = jApp::loadPlugin($name, 'htmlresponse', '.htmlresponse.php', $name . 'HTMLResponsePlugin', $this);
             if ($plugin) {
                 $this->plugins[$name] = $plugin;
             }
             // do nothing if the plugin does not exist, we could be already into the error handle
         }
     }
     parent::__construct();
 }
Ejemplo n.º 5
0
 /**
  * Class constructor
  *
  * @return void
  */
 public function __construct()
 {
     $this->content = new jTpl();
     $this->contentTpl = 'jelix~sitemap';
     parent::__construct();
 }
Ejemplo n.º 6
0
 /**
  * constructor
  */
 function __construct()
 {
     $this->content = new jZipCreator();
     parent::__construct();
 }
Ejemplo n.º 7
0
 /**
  * constructor
  */
 function __construct()
 {
     $this->body = new jTpl();
     parent::__construct();
 }
 /**
  * constructor;
  * setup the template engine
  */
 function __construct()
 {
     $this->cachePath = JELIX_APP_TEMP_PATH . 'responseLatexToPdf/';
     $this->body = new jTpl();
     parent::__construct();
 }
 function __construct()
 {
     $this->cachePath = jApp::tempPath('responseLatexToPdf/');
     $this->body = new jTpl();
     parent::__construct();
 }
Ejemplo n.º 10
0
 /**
  * constructor;
  * setup the charset, the lang, the template engine
  */
 function __construct()
 {
     global $gJConfig;
     $this->_charset = $gJConfig->charset;
     $this->_lang = $gJConfig->locale;
     $this->body = new jTpl();
     parent::__construct();
 }
Ejemplo n.º 11
0
 function __construct()
 {
     $this->charset = jApp::config()->charset;
     $this->lang = jLocale::getCurrentLang();
     parent::__construct();
 }
 /**
  * constructor..
  */
 function __construct()
 {
     $this->_charset = jApp::config()->charset;
     $this->content = new jTpl();
     parent::__construct();
 }