예제 #1
0
 public static function get_instance()
 {
     if (is_null(self::$_instance)) {
         self::$_instance = new self();
     }
     return self::$_instance;
 }
예제 #2
0
파일: Query.php 프로젝트: EugenSeko/News
 public function __construct($tab)
 {
     self::$base = Sin_mysqli::get_instance();
     self::$tab = $tab;
 }