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

Class: MDB2_Datatype_xxx

Source Location: /MDB2-2.0.0beta4/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


[ 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 96]

void get( $name, $field)


Parameters:

   $name   — 
   $field   — 

[ Top ]

quote   [line 116]

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 156]

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 136]

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 Mon, 11 Mar 2019 14:20:15 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.