|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this is "ARRAY" from JDBC types |
|
|
|
This method returns the generic Creole (JDBC-like) type when given the native db type.
Returns int Creole native type (e.g. Types::LONGVARCHAR, Types::BINARY, etc.). Reimplemented in MSSQLTypes, MySQLTypes, OCI8Types, and PgSQLTypes. |
|
This method will return a native type that corresponds to the specified Creole (JDBC-like) type. If there is more than one matching native type, then the LAST defined native type will be returned. Returns string Native type string. Reimplemented in MSSQLTypes, MySQLTypes, OCI8Types, and PgSQLTypes. |
|
Gets the "affix" to use for ResultSet::get*() and PreparedStatement::set*() methods.
Returns mixed The default affix for getting/setting cols of this type on success, SQLException if $creoleType does not correspond to an affix |
|
Given a PHP variable, returns the correct affix (for getter/setter) to use based on the PHP type of the variable.
Returns string |
|
Given the integer type, this method will return the corresponding type name.
Returns string The name of the Creole type (e.g. 'VARCHAR'). |
|
Given the name of a type (e.g. 'VARCHAR') this method will return the corresponding integer.
Returns int the Creole type. |
|
Reimplemented in MSSQLTypes, MySQLTypes, OCI8Types, and PgSQLTypes. |
|
Map of Creole type integers to the setter/getter affix. |
|
Map of Creole type integers to their textual name. |
This file is part of the Creole[php4] library.
Copyright © 2004 Hans Lellelid |   |
Creole[php4] CVS
|