Example #1
0
 public static function get_instance()
 {
     if (is_null(self::$_instance)) {
         self::$_instance = new self();
     }
     return self::$_instance;
 }
Example #2
0
 public function __construct($tab)
 {
     self::$base = Sin_mysqli::get_instance();
     self::$tab = $tab;
 }