Exemple #1
0
 public static function i()
 {
     if (self::$instance === null) {
         $c = __CLASS__;
         self::$instance = new $c();
     }
     return self::$instance;
 }
Exemple #2
0
 /**
  * Set up the view
  */
 private function view()
 {
     $this->data['header'] = strtoupper('xGlide Framework');
     $this->data['content'] = core_xml::i()->create_html($this->store['defaultdata'], "default.xsl");
 }