Documentation TYPO3 par Ameos |
Public Member Functions | |
init ($config, &$pObj) | |
readDataSource ($table) | |
saveDataSource ($table) | |
xmlDB_writeStructure () | |
xmlDB_readStructure () | |
admin_get_tables () | |
admin_get_fields ($tableName) | |
admin_get_keys ($tableName) | |
admin_query ($query) | |
Public Attributes | |
$config = array() | |
$pObj | |
$DBdir = '' | |
$DBstructure |
Definition at line 74 of file class.tx_dbal_handler_xmldb.php.
tx_dbal_handler_xmldb::init | ( | $ | config, | |
&$ | pObj | |||
) |
Initialize handler
array | Configuration from DBAL | |
object | Parent object |
Reimplemented from t3lib_sqlengine.
Definition at line 92 of file class.tx_dbal_handler_xmldb.php.
References $config, t3lib_div::getFileAbsFileName(), xmlDB_readStructure(), and xmlDB_writeStructure().
tx_dbal_handler_xmldb::readDataSource | ( | $ | table | ) |
Setting table data (overriding function)
string | Table name |
Reimplemented from t3lib_sqlengine.
Definition at line 129 of file class.tx_dbal_handler_xmldb.php.
References t3lib_div::xml2array().
tx_dbal_handler_xmldb::saveDataSource | ( | $ | table | ) |
Saving data source
string | Table name |
Reimplemented from t3lib_sqlengine.
Definition at line 158 of file class.tx_dbal_handler_xmldb.php.
References t3lib_div::array2xml(), t3lib_div::getFileAbsFileName(), and t3lib_div::writeFile().
tx_dbal_handler_xmldb::xmlDB_writeStructure | ( | ) |
Writing database structure
Definition at line 185 of file class.tx_dbal_handler_xmldb.php.
References t3lib_div::array2xml(), and t3lib_div::writeFile().
Referenced by admin_query(), and init().
tx_dbal_handler_xmldb::xmlDB_readStructure | ( | ) |
Reading database structure
Definition at line 194 of file class.tx_dbal_handler_xmldb.php.
References t3lib_div::xml2array().
Referenced by init().
tx_dbal_handler_xmldb::admin_get_tables | ( | ) |
Returns the list of tables from the database
Reimplemented from t3lib_sqlengine.
Definition at line 218 of file class.tx_dbal_handler_xmldb.php.
tx_dbal_handler_xmldb::admin_get_fields | ( | $ | tableName | ) |
Returns information about each field in the $table
string | Table name |
Reimplemented from t3lib_sqlengine.
Definition at line 243 of file class.tx_dbal_handler_xmldb.php.
tx_dbal_handler_xmldb::admin_get_keys | ( | $ | tableName | ) |
Returns information about each index key in the $table
string | Table name |
Reimplemented from t3lib_sqlengine.
Definition at line 277 of file class.tx_dbal_handler_xmldb.php.
tx_dbal_handler_xmldb::admin_query | ( | $ | query | ) |
mysql() wrapper function, used by the Install Tool and EM for all queries regarding management of the database!
string | Query to execute |
Reimplemented from t3lib_sqlengine.
Definition at line 315 of file class.tx_dbal_handler_xmldb.php.
References t3lib_sqlparser::parseSQL(), t3lib_div::writeFile(), and xmlDB_writeStructure().
tx_dbal_handler_xmldb::$DBstructure |
Initial value:
array( 'tables' => array() )
Definition at line 81 of file class.tx_dbal_handler_xmldb.php.