Documentation TYPO3 par Ameos |
Public Member Functions | |
init ($config, &$pObj) | |
resetStatusVars () | |
processAccordingToConfig (&$value, $fInfo) | |
exec_INSERTquery ($table, $fields_values) | |
exec_UPDATEquery ($table, $where, $fields_values) | |
exec_DELETEquery ($table, $where) | |
exec_SELECTquery ($select_fields, $from_table, $where_clause, $groupBy, $orderBy, $limit) | |
sql_query ($query) | |
sql_error () | |
sql_insert_id () | |
sql_affected_rows () | |
quoteStr ($str) | |
admin_get_tables () | |
admin_get_fields ($tableName) | |
admin_get_keys ($tableName) | |
admin_query ($query) | |
readDataSource ($table) | |
saveDataSource ($table) | |
selectFromData ($table, $where) | |
select_evalSingle ($table, $config, &$itemKeys) | |
getResultSet ($keys, $table, $fieldList) | |
debug_printResultSet ($array) | |
Public Attributes | |
$data = array() | |
$errorStatus = '' | |
$lastInsertedId = 0 | |
$lastAffectedRows = 0 |
Definition at line 104 of file class.t3lib_sqlengine.php.
|
(DUMMY) Returns information about each field in the $table
Definition at line 500 of file class.t3lib_sqlengine.php. Referenced by exec_INSERTquery(), and exec_UPDATEquery(). |
|
(DUMMY) Returns information about each index key in the $table
Definition at line 511 of file class.t3lib_sqlengine.php. |
|
(DUMMY) Returns the list of tables from the database
Definition at line 489 of file class.t3lib_sqlengine.php. |
|
(DUMMY) mysql() wrapper function, used by the Install Tool and EM for all queries regarding management of the database!
Definition at line 522 of file class.t3lib_sqlengine.php. References sql_query(). |
|
Returns the result set (in array) as HTML table. For debugging.
Definition at line 791 of file class.t3lib_sqlengine.php. |
|
Execute DELETE query
Definition at line 331 of file class.t3lib_sqlengine.php. References t3lib_sqlparser::parseWhereClause(), readDataSource(), resetStatusVars(), saveDataSource(), and selectFromData(). |
|
Execute an INSERT query
Definition at line 205 of file class.t3lib_sqlengine.php. References admin_get_fields(), processAccordingToConfig(), readDataSource(), resetStatusVars(), and saveDataSource(). |
|
Execute SELECT query
Definition at line 382 of file class.t3lib_sqlengine.php. References getResultSet(), t3lib_div::makeInstance(), t3lib_sqlparser::parseFromTables(), t3lib_sqlparser::parseWhereClause(), readDataSource(), resetStatusVars(), and selectFromData(). |
|
Execute UPDATE query on table
Definition at line 272 of file class.t3lib_sqlengine.php. References admin_get_fields(), t3lib_sqlparser::parseWhereClause(), processAccordingToConfig(), readDataSource(), resetStatusVars(), saveDataSource(), and selectFromData(). |
|
Returning result set based on result keys, table and field list
Definition at line 748 of file class.t3lib_sqlengine.php. References t3lib_div::trimExplode(). Referenced by exec_SELECTquery(). |
|
Dummy function for initializing SQL handler. Create you own in derived classes.
Definition at line 126 of file class.t3lib_sqlengine.php. |
|
Processing of update/insert values based on field type. The input value is typecast and trimmed/shortened according to the field type and the configuration options from the $fInfo parameter.
Definition at line 150 of file class.t3lib_sqlengine.php. References t3lib_div::intInRange(), and t3lib_sqlparser::parseFieldDef(). Referenced by exec_INSERTquery(), and exec_UPDATEquery(). |
|
Quoting strings for insertion in SQL queries
Definition at line 464 of file class.t3lib_sqlengine.php. |
|
Dummy function for setting table data. Create your own. NOTICE: Handler to "table-locking" needs to be made probably!
Definition at line 547 of file class.t3lib_sqlengine.php. Referenced by exec_DELETEquery(), exec_INSERTquery(), exec_SELECTquery(), and exec_UPDATEquery(). |
|
Reset SQL engine status variables (insert id, affected rows, error status)
Definition at line 134 of file class.t3lib_sqlengine.php. Referenced by exec_DELETEquery(), exec_INSERTquery(), exec_SELECTquery(), and exec_UPDATEquery(). |
|
Dummy function for setting table data. Create your own. NOTICE: Handler to "table-locking" needs to be made probably!
Definition at line 559 of file class.t3lib_sqlengine.php. Referenced by exec_DELETEquery(), exec_INSERTquery(), and exec_UPDATEquery(). |
|
Evalutaion of a WHERE-clause-array. Yet EXPERIMENTAL
Definition at line 627 of file class.t3lib_sqlengine.php. References selectFromData(). Referenced by selectFromData(). |
|
PHP simulation of SQL "SELECT" Yet EXPERIMENTAL!
Definition at line 589 of file class.t3lib_sqlengine.php. References select_evalSingle(). Referenced by exec_DELETEquery(), exec_SELECTquery(), exec_UPDATEquery(), and select_evalSingle(). |
|
Returns affected rows (of UPDATE and DELETE queries)
Definition at line 454 of file class.t3lib_sqlengine.php. |
|
Returns most recent error
Definition at line 436 of file class.t3lib_sqlengine.php. |
|
Returns most recently create unique ID (of INSERT queries)
Definition at line 445 of file class.t3lib_sqlengine.php. |
|
Performs an SQL query on the "database"
Definition at line 425 of file class.t3lib_sqlengine.php. References t3lib_div::makeInstance(). Referenced by admin_query(). |