OCI8Types Class Reference

Inherits CreoleTypes.

List of all members.

Static Public Member Functions


Member Function Documentation

int OCI8Types::getType ( $nativeType ) [static, virtual]

 

This method returns the generic Creole (JDBC-like) type when given the native db type.
Parameters
string $nativeType DB native type (e.g. 'TEXT', 'byetea', etc.).

Returns int Creole native type (e.g. CreoleTypes::LONGVARCHAR, CreoleTypes::BINARY, etc.).

Implements CreoleTypes.

string OCI8Types::getNativeType ( $creoleType ) [static, virtual]

 

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.
Parameters
int $creoleType

Returns string Native type string.

Implements CreoleTypes.


This file is part of the Creole[php5] library.


Copyright © 2004 Hans Lellelid  
Creole[php5] CVS