コード例 #1
0
 public static function getInstance()
 {
     if (self::$oInstance == null) {
         $sClass = __CLASS__;
         self::$oInstance = new $sClass();
     }
     return self::$oInstance;
 }
コード例 #2
0
 /** constructor */
 public function __construct()
 {
     $this->oSecTok = SecureTokens::getInstance();
 }