public static function get() { if (!isset(self::$instance)) { $c = __CLASS__; self::$instance = new $c; } return self::$instance; }
/** * Obem a plataforma do usuário * @return object jfltPlatform(){} */ public function _getPlatform() { JfltImport('Jflt_Core_Platform'); $this->platform = Jflt_Core_Platform::get(); }