![]() |
Jeff PHP framework
0.99
Modular, extensible, OOP, MVC, lightweight php framework designed to ease the programmers in the development of web applications.
|
Database factory, returns a database object instance depending on the DBMS configuration setting. More...
Inheritance diagram for db:
Collaboration diagram for db:Static Public Member Functions | |
| static | instance () |
| returns a singleton db instance | |
Static Private Attributes | |
| static | $_db_charset = DB_CHARSET |
| database charset | |
| static | $_db_dbname = DB_DBNAME |
| database name | |
| static | $_db_host = DB_HOST |
| database host | |
| static | $_db_pass = DB_PASSWORD |
| database password | |
| static | $_db_schema = DB_SCHEMA |
| database schema | |
| static | $_db_user = DB_USER |
| database user | |
Database factory, returns a database object instance depending on the DBMS configuration setting.
Definition at line 38 of file db.factory.php.
| static db::instance | ( | ) | [static] |
returns a singleton db instance
Reimplemented from singleton.
Definition at line 76 of file db.factory.php.
Here is the caller graph for this function:db::$_db_charset = DB_CHARSET [static, private] |
database charset
Definition at line 63 of file db.factory.php.
db::$_db_dbname = DB_DBNAME [static, private] |
database name
Definition at line 58 of file db.factory.php.
db::$_db_host = DB_HOST [static, private] |
database host
Definition at line 43 of file db.factory.php.
db::$_db_pass = DB_PASSWORD [static, private] |
database password
Definition at line 53 of file db.factory.php.
db::$_db_schema = DB_SCHEMA [static, private] |
database schema
Definition at line 68 of file db.factory.php.
db::$_db_user = DB_USER [static, private] |
database user
Definition at line 48 of file db.factory.php.