[ 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/sqlite/ -> SQLiteTypes.php (sommaire)

(pas de description)

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

Définit 1 class

SQLiteTypes:: (2 méthodes):
  getType()
  getNativeType()


Classe: SQLiteTypes  - X-Ref

MySQL types / type map.

getType($nativeType)   X-Ref
This method returns the generic Creole (JDBC-like) type
when given the native db type.  If no match is found then we just
return CreoleTypes::TEXT because SQLite is typeless.

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.  Remember that this is really only for "hint" purposes
as SQLite is typeless.

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