예제 #1
0
파일: Platform.php 프로젝트: nidorx/JFLT
 public static function get()
 {
     if (!isset(self::$instance))
     {
         $c = __CLASS__;
         self::$instance = new $c;
     }
     return self::$instance;
 }
예제 #2
0
 /**
  * Obem a plataforma do usuário
  * @return object jfltPlatform(){}
  */
 public function _getPlatform()
 {
     JfltImport('Jflt_Core_Platform');
     $this->platform = Jflt_Core_Platform::get();
 }