DbConnexionThe object to make request and be connected to the databases
Located in /core/internal_components/common/database/dbconnexion.class.php (line 74)
ObjectCached | --DbConnexion
bool
formatAndProtectRequest
( &$r_table_params, &$p_request, array $r_table_params, string $p_request)
bool
getConnection
( &$r_super_admin_sql_connection_id, &$r_sql_connection_information, string $p_database, resource $r_super_admin_sql_connection_id, resource $r_sql_connection_information)
bool
getConnectionInfo
( &$r_db_name, &$r_user_name, &$r_user_pass, string $r_db_name, string $r_user_name, string $r_user_pass)
bool
makeSqlQuery
(string $p_request, &$r_table_params, &$r_result_set, [string $p_database_selected = ""], array $r_table_params, resource $r_result_set)
bool
makeSqlQueryAdminSuper
(string $p_request, &$r_table_params, &$r_result_set, array $r_table_params, resource $r_result_set)
bool
makeSqlQueryWithId
(string $p_request, &$r_table_params, &$r_result_set, &$r_insert_id, array $r_table_params, resource $r_result_set, integer $r_insert_id)
bool
$debug_is_on
= false (line 167)
Active this var to debug any request
array
$HTML_ENTITIES_REVERSED
= array() (line 213)
array
$HTML_SPECIALCHARS_REVERSED
= array() (line 209)
string
$m_database_host
= "" (line 192)
Database host
string
$m_database_inherited_sitename
= "" (line 103)
Inherited site name
bool
$m_database_is_ecommerce_web_site
= false (line 123)
Is ecommerce website
string
$m_database_name
= NULL (line 174)
Database name
string
$m_database_user_name
= NULL (line 180)
Database user
string
$m_database_user_pass
= NULL (line 186)
Database pass
bool
$m_debug_connectivity
= FALSE (line 225)
Active this var to debug connectivity
resource
$m_id_sql
= NULL (line 87)
The id for current web site
resource
$m_id_sql_admin_super
= NULL (line 81)
The id for admin super
resource
$m_last_connection_sql_id
= NULL (line 97)
array
$m_master_website_group_table
= array() (line 110)
Store list of table use in master
array
$m_master_website_group_table_and_field
= array() (line 116)
Store list of fields use in master
array
$m_not_destroying_cache
= array() (line 205)
table not destroying cache
string
$m_site_name
= NULL (line 93)
Current site name
array
$m_supported_tags
= array() (line 199)
Supproted tags
array
$m_website_group
= array() (line 130)
Get website group
string
$req_get_websitegroup
= SQL Request : Get web site group
string
$req_lock_table
= "SQL Request : Lock tables
string
$req_unlock_table
= "UNLOCK TABLES;" (line 160)
SQL Request : Unlok tables
array
$WINDOWS_SPECIAL_CHAR
= array() (line 218)
Inherited from ObjectCached
ObjectCached::$m_array_already_loader
Constructor, init the requests and objects
Connect to db and store this cnnection in this object
Execute multiple request in a string
Format and protect any request
Get connection
Get connexion information
Return the inherited site name for the current web site
Return master of web group for selected database
Lock tables for order process
Make an sql query in PLICI, in the current website
Make an sql query in PLICI into the super admin
Make an sql query in PLICI and return the insert id
Must if we must check website master group for specified table (and field)
Test if table name exist
Translate a parameter before or after receiving from database
Unlock tables for commande process
Get all webiste group
Return Slave for this master
Inherited From ObjectCached
ObjectCached::xClearRemember()
ObjectCached::xClearRememberAll()
ObjectCached::xIsRemembered()
ObjectCached::xRemember()
Documentation generated on Tue, 25 Mar 2008 15:34:36 +0100 by phpDocumentor 1.3.2