Example #1
0
 public static function getInstance($host, $user, $password, $database)
 {
     self::$_host = $host;
     self::$_user = $user;
     self::$_password = $password;
     self::$_database = $database;
     if (!self::$_instance) {
         self::$_instance = new Model();
     }
     return self::$_instance;
 }