[ Index ] |
|
Code source de Symfony 1.0.0 |
[Code source] [Imprimer] [Statistiques]
Baseclass for SQL data dump SQL building classes.
Author: | Hans Lellelid <hans@xmpl.org> |
Poids: | 215 lignes (6 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
buildRowSql(DataRow $row) X-Ref |
The main method in this class, returns the SQL for INSERTing data into a row. param: DataRow $row The row to process. return: string |
getColumnValueSql(ColumnValue $colValue) X-Ref |
Gets the propertly escaped (and quoted) value for a column. param: ColumnValue $colValue return: mixed The proper value to be added to the string. |
getBooleanSql($value) X-Ref |
Gets a representation of a binary value suitable for use in a SQL statement. Default behavior is true = 1, false = 0. param: boolean $value return: int |
getBlobSql($blob) X-Ref |
Gets a representation of a BLOB/LONGVARBINARY value suitable for use in a SQL statement. param: mixed $blob Blob object or string data. return: string |
getClobSql($clob) X-Ref |
Gets a representation of a CLOB/LONGVARCHAR value suitable for use in a SQL statement. param: mixed $clob Clob object or string data. return: string |
getDateSql($value) X-Ref |
Gets a representation of a date value suitable for use in a SQL statement. param: string $value return: string |
getDecimalSql($value) X-Ref |
Gets a representation of a decimal value suitable for use in a SQL statement. param: double $value return: float |
getDoubleSql($value) X-Ref |
Gets a representation of a double value suitable for use in a SQL statement. param: double $value return: double |
getFloatSql($value) X-Ref |
Gets a representation of a float value suitable for use in a SQL statement. param: float $value return: float |
getIntSql($value) X-Ref |
Gets a representation of an integer value suitable for use in a SQL statement. param: int $value return: int |
getNullSql() X-Ref |
Gets a representation of a NULL value suitable for use in a SQL statement. return: null |
getStringSql($value) X-Ref |
Gets a representation of a string value suitable for use in a SQL statement. param: string $value return: string |
getTimeSql($paramIndex, $value) X-Ref |
Gets a representation of a time value suitable for use in a SQL statement. param: string $value return: string |
getTimestampSql($value) X-Ref |
Gets a representation of a timestamp value suitable for use in a SQL statement. param: string $value return: string |
Généré le : Fri Mar 16 22:42:14 2007 | par Balluche grâce à PHPXref 0.7 |