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

Class: MDB2_Statement_oci8

Source Location: /MDB2_Driver_oci8-1.5.0b4/MDB2/Driver/oci8.php

Class Overview

MDB2_Statement_Common
   |
   --MDB2_Statement_oci8

MDB2 OCI8 statement driver


Author(s):

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 1408]
MDB2 OCI8 statement driver


[ Top ]


Class Variables

$type_maxlengths = array()

[line 1412]


Type:   mixed


[ Top ]



Method Detail

bindParam   [line 1432]

mixed bindParam( int $parameter, mixed &$value, [string $type = null], [int $maxlength = -1])

Bind a variable to a parameter of a prepared query.
  • Return: MDB2_OK on success, a MDB2 error on failure
  • Access: public

Parameters:

int   $parameter     the order number of the parameter in the query statement. The order number of the first parameter is 1.
mixed   &$value     variable that is meant to be bound to specified parameter. The type of the value depends on the $type argument.
string   $type     specifies the type of the field
int   $maxlength     specifies the maximum length of the field; if set to -1, the current length of $value is used

[ Top ]

free   [line 1650]

mixed free( )

Release resources allocated for the specified prepared query.
  • Return: MDB2_OK on success, a MDB2 error on failure
  • Access: public

[ Top ]


Documentation generated on Tue, 23 Oct 2012 18:30:52 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.