コード例 #1
0
ファイル: Match.php プロジェクト: Nhan-Huynh-FO/nhan-repo
 /**
  * Get singletom instance
  * @return Thethao_Model_Match
  * @author LamTX
  */
 public static final function getInstance()
 {
     //Check instance
     if (is_null(self::$_instance)) {
         self::$_instance = new self();
     }
     //Return instance
     return self::$_instance;
 }