コード例 #1
0
ファイル: IDMan.php プロジェクト: firaga/operation
 public static function OInstance()
 {
     if (empty(self::$s_OInstance)) {
         self::$s_OInstance = new self();
     }
     return self::$s_OInstance;
 }
コード例 #2
0
ファイル: DB.php プロジェクト: jinghm318/ko
 private function _oGetIdGenerator()
 {
     if (is_null($this->_oIdGenerator)) {
         $this->_oIdGenerator = Ko_Data_IDMan::OInstance();
     }
     return $this->_oIdGenerator;
 }
コード例 #3
0
ファイル: IdGen.php プロジェクト: firaga/operation
 /**
  * @return int
  */
 public function iNewTimeId()
 {
     return Ko_Data_IDMan::OInstance()->iGetNewTimeID($this->_sIdKey);
 }