[ Index ]
 

Code source de Symfony 1.0.0

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/lib/vendor/creole/drivers/odbc/ -> ODBCTypes.php (sommaire)

(pas de description)

Poids: 189 lignes (7 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

ODBCTypes:: (3 méthodes):
  loadTypeMap()
  getType()
  getNativeType()


Classe: ODBCTypes  - X-Ref

ODBC types / type map.

loadTypeMap($conn = null)   X-Ref
Loads the map of ODBC data types to Creole (JDBC) types.

NOTE: This function cannot map DBMS-specific datatypes. If you use a
driver which implements DBMS-specific datatypes, you will need
to modify/extend this class to add the correct mapping.

getType($nativeType)   X-Ref
This method returns the generic Creole (JDBC-like) type
when given the native db type.

param: string $nativeType DB native type (e.g. 'TEXT', 'byetea', etc.).
return: int Creole native type (e.g. CreoleTypes::LONGVARCHAR, CreoleTypes::BINARY, etc.).

getNativeType($creoleType)   X-Ref
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.

param: int $creoleType
return: string Native type string.



Généré le : Fri Mar 16 22:42:14 2007 par Balluche grâce à PHPXref 0.7