Static Public Member Functions |
| static | fetchQueryFileClassName ($where, $app, $key='') |
| static | fetchQueryFileClassName ($where, $app, $key='') |
| static | fetchQueryFileName ($where, $app, $key='') |
| static | fetchQueryFileName ($where, $app, $key='') |
| static | getDB ($key='') |
| static | getDB ($key='') |
| static | getDriverType ($key= '') |
| static | getDriverType ($key= '') |
| static | getPrefix ($key='') |
| static | getPrefix ($key='') |
| static | instance () |
| static | instance () |
| static | loadQueryFile ($where, $app, $key='') |
| static | loadQueryFile ($where, $app, $key='') |
| static | setDB ($db_driver, $key='') |
| static | setDB ($db_driver, $key='', $settings=array()) |
| static | unsetDB ($key=false) |
Static Protected Attributes |
|
static | $data_store = array() |
|
static | $dbObjects = array() |
Detailed Description
Member Function Documentation
Fetch query file, if available
public
- Parameters:
-
| string | 'public' or 'admin' |
| string | App dir |
| string | Key |
- Returns:
- File name
Fetch query file, if available
- Parameters:
-
| string | 'public' or 'admin' |
| string | App dir |
| string | Key |
- Returns:
- File name
Fetch query file, if available
public
- Parameters:
-
| string | 'public' or 'admin' |
| string | App dir |
| string | Key |
- Returns:
- File name
Fetch query file, if available
- Parameters:
-
| string | 'public' or 'admin' |
| string | App dir |
| string | Key |
- Returns:
- File name
| static getDB |
( |
$ |
key = '' | ) |
[static] |
Get DB instance
public
- Parameters:
-
- Returns:
- object
| static getDB |
( |
$ |
key = '' | ) |
[static] |
Get DB reference based on key
- Parameters:
-
- Returns:
- object
Returns the driver type currently in use, ex: mysql
public
- Parameters:
-
| string | $key | Key of the db connection to check |
- Returns:
- object
Returns the driver type currently in use, ex: mysql
- Parameters:
-
| string | $key | Key of the db connection to check |
- Returns:
- string
Return the prefix for this connection
public
- Parameters:
-
- Returns:
- string
Get the prefix for this connection
- Parameters:
-
- Returns:
- string Prefix
Singleton init
public
- Returns:
- object
Loaded query files Initialize singleton
- Returns:
- object
Fetch query file, if available
public
- Parameters:
-
| string | 'public' or 'admin' |
| string | App dir |
| string | Key |
- Returns:
- boolean
Fetch query file, if available
- Parameters:
-
| string | 'public' or 'admin' |
| string | App dir |
| string | Key |
- Returns:
- boolean
| static setDB |
( |
$ |
db_driver, |
|
|
$ |
key = '' |
|
) |
| [static] |
Sets the DB instance
public
- Parameters:
-
| object | $db_driver | DB instance |
| string | $key | Key of the db connection to check |
- Returns:
- void
| static setDB |
( |
$ |
db_driver, |
|
|
$ |
key = '', |
|
|
$ |
settings = array() |
|
) |
| [static] |
Set a database object
- Parameters:
-
| string | DB driver |
| string | Key |
| array | Array of settings( sql_database, sql_user, sql_pass, sql_host, sql_charset, sql_tbl_prefix ) and any other connection vars |
- Returns:
- void
| static unsetDB |
( |
$ |
key = false | ) |
[static] |
The documentation for this class was generated from the following files:
- admin/setup/sources/base/ipsRegistry_setup.php
- admin/sources/base/ipsRegistry.php