Documentation TYPO3 par Ameos

ux_t3lib_sqlparser Class Reference

Inheritance diagram for ux_t3lib_sqlparser:
[legend]
Collaboration diagram for ux_t3lib_sqlparser:
[legend]
List of all members.

Public Member Functions

 compileSQL ($components)
 compileINSERT ($components)
 compileDROPTABLE ($components)
 compileCREATETABLE ($components)
 compileALTERTABLE ($components)
 compileFieldCfg ($fieldCfg)
 checkEmptyDefaultValue ($featureIndex)

Detailed Description

Definition at line 46 of file class.ux_t3lib_sqlparser.php.


Member Function Documentation

ux_t3lib_sqlparser::compileSQL ( components  ) 

Compiles an SQL query from components

Parameters:
array Array of SQL query components
Returns:
string SQL query
See also:
parseSQL()

Reimplemented from t3lib_sqlparser.

Definition at line 61 of file class.ux_t3lib_sqlparser.php.

References compileALTERTABLE(), compileCREATETABLE(), t3lib_sqlparser::compileDELETE(), compileDROPTABLE(), compileINSERT(), t3lib_sqlparser::compileSELECT(), and t3lib_sqlparser::compileUPDATE().

ux_t3lib_sqlparser::compileINSERT ( components  ) 

Compiles an INSERT statement from components array

Parameters:
array Array of SQL query components
Returns:
string SQL INSERT query
See also:
parseINSERT()

Reimplemented from t3lib_sqlparser.

Definition at line 94 of file class.ux_t3lib_sqlparser.php.

Referenced by compileSQL().

ux_t3lib_sqlparser::compileCREATETABLE ( components  ) 

Compiles a CREATE TABLE statement from components array

Parameters:
array Array of SQL query components
Returns:
array array with SQL CREATE TABLE/INDEX command(s)
See also:
parseCREATETABLE()

Reimplemented from t3lib_sqlparser.

Definition at line 138 of file class.ux_t3lib_sqlparser.php.

References compileFieldCfg().

Referenced by compileSQL().

ux_t3lib_sqlparser::compileALTERTABLE ( components  ) 

Compiles an ALTER TABLE statement from components array

Parameters:
array Array of SQL query components
Returns:
string SQL ALTER TABLE query
See also:
parseALTERTABLE()

Reimplemented from t3lib_sqlparser.

Definition at line 178 of file class.ux_t3lib_sqlparser.php.

References compileFieldCfg().

Referenced by compileSQL().

ux_t3lib_sqlparser::compileFieldCfg ( fieldCfg  ) 

Compile field definition

Parameters:
array Field definition parts
Returns:
string Field definition string

Reimplemented from t3lib_sqlparser.

Definition at line 212 of file class.ux_t3lib_sqlparser.php.

Referenced by compileALTERTABLE(), and compileCREATETABLE().


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


Généré par Les experts TYPO3 avec  doxygen 1.4.6