PgSQLTypes Class Reference

Inherits CreoleTypes.

List of all members.

Public Member Functions

Public Attributes


Member Function Documentation

PgSQLTypes::getType ( $  pgsqlType)

 

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. Types::LONGVARCHAR, Types::BINARY, etc.).

Reimplemented from CreoleTypes.

PgSQLTypes::getNativeType ( $  creoleType)

 

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 from CreoleTypes.

& PgSQLTypes::getInstance ()

 

Reimplemented from CreoleTypes.


Member Data Documentation

PgSQLTypes::$typeMap = null

 

Map PostgreSQL native types to Creole (JDBC) types.

PgSQLTypes::$reverseMap = null

 

Reverse lookup map, created on demand.


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


Copyright © 2004 Hans Lellelid  
Creole[php4] CVS