Documentation TYPO3 par Ameos

tx_dbal_handler_xmldb Class Reference

Inheritance diagram for tx_dbal_handler_xmldb:

Inheritance graph
[legend]
Collaboration diagram for tx_dbal_handler_xmldb:

Collaboration graph
[legend]
List of all members.

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

Detailed Description

Definition at line 74 of file class.tx_dbal_handler_xmldb.php.


Member Function Documentation

tx_dbal_handler_xmldb::admin_get_fields tableName  ) 
 

Returns information about each field in the $table

Parameters:
string Table name
Returns:
array Field information in an associative array with fieldname => field row

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

Parameters:
string Table name
Returns:
array Key information in a numeric array

Reimplemented from t3lib_sqlengine.

Definition at line 277 of file class.tx_dbal_handler_xmldb.php.

tx_dbal_handler_xmldb::admin_get_tables  ) 
 

Returns the list of tables from the database

Returns:
array Tables in an array (tablename is in both key and value)

Reimplemented from t3lib_sqlengine.

Definition at line 218 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!

Parameters:
string Query to execute
Returns:
pointer Result pointer

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::init config,
&$  pObj
 

Initialize handler

Parameters:
array Configuration from DBAL
object Parent object
Returns:
void

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)

Parameters:
string Table name
Returns:
void

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

Parameters:
string Table name
Returns:
boolean True on success

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_readStructure  ) 
 

Reading database structure

Returns:
void

Definition at line 194 of file class.tx_dbal_handler_xmldb.php.

References t3lib_div::xml2array().

Referenced by init().

tx_dbal_handler_xmldb::xmlDB_writeStructure  ) 
 

Writing database structure

Returns:
void

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().


Member Data Documentation

tx_dbal_handler_xmldb::$DBstructure
 

Initial value:

 array(
                'tables' => array()
        )

Definition at line 81 of file class.tx_dbal_handler_xmldb.php.


The documentation for this class was generated from the following file:


Généré par Les spécialistes TYPO3 avec  doxygen 1.4.6