Public Member Functions | |
__construct ($auto_connect=TRUE) | |
create () | |
_close ($connection) | |
_begin ($transactionLevel=0) | |
_rollback ($transactionLevel=0) | |
_commit () | |
__query ($query, $connection) | |
_createTable ($xml_doc) | |
Public Member Functions inherited from DBMysql | |
__construct ($auto_connect=TRUE) | |
create () | |
__connect ($connection) | |
_afterConnect ($connection) | |
_close ($connection) | |
addQuotes ($string) | |
_begin ($transactionLevel=0) | |
_rollback ($transactionLevel=0) | |
_commit () | |
__query ($query, $connection) | |
_fetch ($result, $arrayIndexEndValue=NULL) | |
getNextSequence () | |
isValidOldPassword ($password, $saved_password) | |
isTableExists ($target_name) | |
addColumn ($table_name, $column_name, $type= 'number', $size= '', $default=null, $notnull=false) | |
dropColumn ($table_name, $column_name) | |
isColumnExists ($table_name, $column_name) | |
addIndex ($table_name, $index_name, $target_columns, $is_unique=false) | |
dropIndex ($table_name, $index_name, $is_unique=false) | |
isIndexExists ($table_name, $index_name) | |
createTableByXml ($xml_doc) | |
createTableByXmlFile ($file_name) | |
_createTable ($xml_doc) | |
_executeInsertAct ($queryObject, $with_values=true) | |
_executeUpdateAct ($queryObject, $with_values=true) | |
_executeDeleteAct ($queryObject, $with_values=true) | |
_executeSelectAct ($queryObject, $connection=null, $with_values=true) | |
db_insert_id () | |
db_fetch_object (&$result) | |
db_free_result (&$result) | |
& | getParser ($force=FALSE) |
queryError ($queryObject) | |
queryPageLimit ($queryObject, $result, $connection, $with_values=true) | |
getSelectPageSql ($query, $with_values=true, $start_count=0, $list_count=0) | |
Public Member Functions inherited from DB | |
getInstance ($db_type=NULL) | |
create () | |
__construct () | |
getSupportedList () | |
_getSupportedList () | |
_sortDBMS ($a, $b) | |
isSupported () | |
isConnected ($type= 'master', $indx=0) | |
actStart ($query) | |
actFinish () | |
setQueryLog ($log) | |
setError ($errno=0, $errstr= 'success') | |
isError () | |
getError () | |
executeQuery ($query_id, $args=NULL, $arg_columns=NULL, $type=NULL) | |
checkQueryCacheFile ($query_id, $xml_file) | |
_executeQuery ($cache_file, $source_args, $query_id, $arg_columns, $type) | |
getCountCache ($tables, $condition) | |
putCountCache ($tables, $condition, $count=0) | |
resetCountCache ($tables) | |
dropTable ($table_name) | |
getSelectSql ($query, $with_values=TRUE) | |
getClickCountQuery ($queryObject) | |
getDeleteSql ($query, $with_values=TRUE, $with_priority=FALSE) | |
getUpdateSql ($query, $with_values=TRUE, $with_priority=FALSE) | |
getInsertSql ($query, $with_values=TRUE, $with_priority=FALSE) | |
_getSlaveConnectionStringIndex () | |
_getConnection ($type= 'master', $indx=NULL) | |
_dbInfoExists () | |
_close ($connection) | |
close ($type= 'master', $indx=0) | |
_begin ($transactionLevel=0) | |
begin () | |
_rollback ($transactionLevel=0) | |
rollback () | |
_commit () | |
commit ($force=FALSE) | |
__query ($query, $connection) | |
_query ($query, $connection=NULL) | |
_setDBInfo () | |
__connect ($connection) | |
_afterConnect ($connection) | |
_connect ($type= 'master', $indx=0) | |
actDBClassStart () | |
actDBClassFinish () | |
getParser ($force=FALSE) | |
Additional Inherited Members | |
Static Public Member Functions inherited from DB | |
static | getEnableList () |
static | getDisableList () |
Public Attributes inherited from DBMysql | |
$prefix = 'xe_' | |
$comment_syntax = '/* %s */' | |
$column_type | |
Public Attributes inherited from DB | |
$priority_dbms | |
$count_cache_path = 'files/cache/db' | |
$cond_operation | |
$master_db = NULL | |
$slave_db = NULL | |
$result = NULL | |
$errno = 0 | |
$errstr = '' | |
$query = '' | |
$connection = '' | |
$elapsed_time = 0 | |
$elapsed_dbclass_time = 0 | |
$transaction_started = FALSE | |
$is_connected = FALSE | |
$cache_file = 'files/cache/queries/' | |
$db_type | |
$use_prepared_statements | |
Static Public Attributes inherited from DB | |
static | $isSupported = FALSE |
static | $supported_list = array() |
Definition at line 16 of file DBMysql_innodb.class.php.
DBMysql_innodb::__construct | ( | $auto_connect = TRUE | ) |
DBMysql_innodb::__query | ( | $query, | |
$connection | |||
) |
Execute the query this method is private
string | $query | |
resource | $connection |
Definition at line 110 of file DBMysql_innodb.class.php.
DBMysql_innodb::_begin | ( | $transactionLevel = 0 | ) |
DB transaction start this method is private
Definition at line 54 of file DBMysql_innodb.class.php.
DBMysql_innodb::_close | ( | $connection | ) |
DB disconnection this method is private
resource | $connection |
Definition at line 44 of file DBMysql_innodb.class.php.
DBMysql_innodb::_commit | ( | ) |
DB transaction commit this method is private
Definition at line 96 of file DBMysql_innodb.class.php.
DBMysql_innodb::_createTable | ( | $xml_doc | ) |
Create table by using the schema xml
type : number, varchar, tinytext, text, bigtext, char, date,
opt : notnull, default, size
index : primary key, index, unique
string | $xml_doc | xml schema contents |
Definition at line 136 of file DBMysql_innodb.class.php.
DBMysql_innodb::_rollback | ( | $transactionLevel = 0 | ) |
DB transaction rollback this method is private
Definition at line 74 of file DBMysql_innodb.class.php.
DBMysql_innodb::create | ( | ) |
Create an instance of this class
Definition at line 33 of file DBMysql_innodb.class.php.