|
TYPO3 API
SVNRelease
|


Public Member Functions | |
| compileFieldList ($selectFields, $compileComments=TRUE, $functionMapping=TRUE) | |
| compileCREATETABLE ($components) | |
| compileALTERTABLE ($components) | |
| compileFieldCfg ($fieldCfg) | |
| checkEmptyDefaultValue ($featureIndex) | |
| compileWhereClause ($clauseArray, $functionMapping=TRUE) | |
Protected Member Functions | |
| compileCaseStatement (array $components, $functionMapping=TRUE) | |
| compileAddslashes ($str) | |
| compileINSERT ($components) | |
Private Member Functions | |
| compileDROPTABLE ($components) | |
Definition at line 47 of file class.ux_t3lib_sqlparser.php.
| ux_t3lib_sqlparser::checkEmptyDefaultValue | ( | $ | featureIndex | ) |
Checks if the submitted feature index contains a default value definition and the default value
| array | $featureIndex | A feature index as produced by parseFieldDef() |
Definition at line 403 of file class.ux_t3lib_sqlparser.php.
| ux_t3lib_sqlparser::compileAddslashes | ( | $ | str | ) | [protected] |
Add slashes function used for compiling queries This method overrides the method from t3lib_sqlparser because the input string is already properly escaped.
| string | Input string |
Reimplemented from t3lib_sqlparser.
Definition at line 153 of file class.ux_t3lib_sqlparser.php.
Referenced by compileFieldCfg(), and compileWhereClause().
| ux_t3lib_sqlparser::compileALTERTABLE | ( | $ | components | ) |
Compiles an ALTER TABLE statement from components array
| array | Array of SQL query components |
Reimplemented from t3lib_sqlparser.
Definition at line 281 of file class.ux_t3lib_sqlparser.php.
References $GLOBALS, $query, and compileFieldCfg().
| ux_t3lib_sqlparser::compileCaseStatement | ( | array $ | components, |
| $ | functionMapping = TRUE |
||
| ) | [protected] |
Compiles a CASE ... WHEN flow-control construct based on input array (made with ->parseCaseStatement())
| array | Array of case components, (made with ->parseCaseStatement()) |
| boolean | Whether function mapping should take place |
Definition at line 116 of file class.ux_t3lib_sqlparser.php.
References $GLOBALS, and compileWhereClause().
Referenced by compileFieldList().
| ux_t3lib_sqlparser::compileCREATETABLE | ( | $ | components | ) |
Compiles a CREATE TABLE statement from components array
| array | Array of SQL query components |
Reimplemented from t3lib_sqlparser.
Definition at line 230 of file class.ux_t3lib_sqlparser.php.
References $GLOBALS, $query, and compileFieldCfg().
| ux_t3lib_sqlparser::compileDROPTABLE | ( | $ | components | ) | [private] |
Compiles a DROP TABLE statement from components array
| array | Array of SQL query components |
Definition at line 208 of file class.ux_t3lib_sqlparser.php.
| ux_t3lib_sqlparser::compileFieldCfg | ( | $ | fieldCfg | ) |
Compile field definition
| array | Field definition parts |
Reimplemented from t3lib_sqlparser.
Definition at line 322 of file class.ux_t3lib_sqlparser.php.
References $GLOBALS, and compileAddslashes().
Referenced by compileALTERTABLE(), and compileCREATETABLE().
| ux_t3lib_sqlparser::compileFieldList | ( | $ | selectFields, |
| $ | compileComments = TRUE, |
||
| $ | functionMapping = TRUE |
||
| ) |
Compiles a "SELECT [output] FROM..:" field list based on input array (made with ->parseFieldList()) Can also compile field lists for ORDER BY and GROUP BY.
| array | Array of select fields, (made with ->parseFieldList()) |
| boolean | Whether comments should be compiled |
| boolean | Whether function mapping should take place |
Definition at line 59 of file class.ux_t3lib_sqlparser.php.
References $GLOBALS, and compileCaseStatement().
| ux_t3lib_sqlparser::compileINSERT | ( | $ | components | ) | [protected] |
Compiles an INSERT statement from components array
| array | Array of SQL query components |
Reimplemented from t3lib_sqlparser.
Definition at line 170 of file class.ux_t3lib_sqlparser.php.
| ux_t3lib_sqlparser::compileWhereClause | ( | $ | clauseArray, |
| $ | functionMapping = TRUE |
||
| ) |
Implodes an array of WHERE clause configuration into a WHERE clause.
DBAL-specific: The only(!) handled "calc" operators supported by parseWhereClause() are:
| array | WHERE clause configuration |
Definition at line 429 of file class.ux_t3lib_sqlparser.php.
References $GLOBALS, compileAddslashes(), t3lib_sqlparser\compileSELECT(), t3lib_div\inList(), t3lib_div\isFirstPartOfStr(), and t3lib_div\strtolower().
Referenced by compileCaseStatement().
1.7.5.1