MDB2
[ class tree: MDB2 ] [ index: MDB2 ] [ all elements ]

Class: MDB2_Datatype_xxx

Source Location: /MDB2-2.0.0RC1/docs/Driver_Datatype_skeleton.php

Class Overview

MDB2_Datatype_Common
   |
   --MDB2_Datatype_xxx

MDB2 XXX driver


Author(s):

Methods


Inherited Variables

Inherited Methods


Class Details

[line 72]
MDB2 XXX driver
  • Author: YOUR NAME <EMAIL>


[ Top ]


Method Detail

convertResult   [line 85]

mixed convertResult( mixed $value, int $type)

convert a value to a RDBMS indepdenant MDB2 type
  • Return: converted value
  • Access: public

Parameters:

mixed   $value     value to be converted
int   $type     constant that specifies which type to convert to

[ Top ]

get   [line 95]

void get( mixed $name, mixed $field)


[ Top ]

quote   [line 114]

string quote( resource $prepared_query, $parameter $parameter, $clob $clob)

Convert a text value into a DBMS specific format that is suitable to compose query statements.
  • Return: text string that represents the given argument value in a DBMS specific format.
  • Access: public

Parameters:

resource   $prepared_query     query handle from prepare()
$parameter   $parameter     
$clob   $clob     

[ Top ]

quoteBlob   [line 152]

string quoteBlob( resource $prepared_query, $parameter $parameter, $blob $blob)

Convert a text value into a DBMS specific format that is suitable to compose query statements.
  • Return: text string that represents the given argument value in a DBMS specific format.
  • Access: public

Parameters:

resource   $prepared_query     query handle from prepare()
$parameter   $parameter     
$blob   $blob     

[ Top ]

quoteClob   [line 133]

string quoteClob( resource $prepared_query, $parameter $parameter, $clob $clob)

Convert a text value into a DBMS specific format that is suitable to compose query statements.
  • Return: text string that represents the given argument value in a DBMS specific format.
  • Access: public

Parameters:

resource   $prepared_query     query handle from prepare()
$parameter   $parameter     
$clob   $clob     

[ Top ]


Documentation generated on Wed, 21 Dec 2005 06:31:10 -0500 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.