creole.drivers.odbc
[ class tree: creole.drivers.odbc ] [ index: creole.drivers.odbc ] [ all elements ]

Class: ODBCPreparedStatement

Source Location: /creole/drivers/odbc/ODBCPreparedStatement.php

Class Overview

PreparedStatementCommon
   |
   --ODBCPreparedStatement

ODBC specific PreparedStatement functions.


Author(s):

Version:

  • $Revision: 1.1 $

Methods


Inherited Variables

Inherited Methods

Class: PreparedStatementCommon

PreparedStatementCommon::__construct()
Create new prepared statement instance.
PreparedStatementCommon::close()
Nothing to close for emulated prepared statements.
PreparedStatementCommon::escape()
Escapes special characters (usu. quotes) using native driver function.
PreparedStatementCommon::executeQuery()
Executes the SQL query in this PreparedStatement object and returns the resultset generated by the query.
PreparedStatementCommon::executeUpdate()
Executes the SQL INSERT, UPDATE, or DELETE statement in this PreparedStatement object.
PreparedStatementCommon::getConnection()
PreparedStatementCommon::getLimit()
PreparedStatementCommon::getMoreResults()
PreparedStatementCommon::getOffset()
PreparedStatementCommon::getResource()
Statement resources do not exist for emulated prepared statements, so this just returns
  1. null
.
PreparedStatementCommon::getResultSet()
PreparedStatementCommon::getUpdateCount()
PreparedStatementCommon::replaceParams()
Replaces placeholders with the specified parameter values in the SQL.
PreparedStatementCommon::set()
A generic set method.
PreparedStatementCommon::setArray()
Sets an array.
PreparedStatementCommon::setBlob()
PreparedStatementCommon::setBoolean()
Sets a boolean value.
PreparedStatementCommon::setClob()
PreparedStatementCommon::setDate()
PreparedStatementCommon::setDecimal()
PreparedStatementCommon::setDouble()
PreparedStatementCommon::setFloat()
PreparedStatementCommon::setInt()
PreparedStatementCommon::setInteger()
Alias for setInt()
PreparedStatementCommon::setLimit()
PreparedStatementCommon::setNull()
PreparedStatementCommon::setOffset()
PreparedStatementCommon::setString()
PreparedStatementCommon::setTime()
PreparedStatementCommon::setTimestamp()

Class Details

[line 33]
ODBC specific PreparedStatement functions.



Tags:

version:  $Revision: 1.1 $
author:  Dave Lawson <dlawson@masterytech.com>


[ Top ]


Class Methods


method escape [line 142]

void escape( mixed $str)



Tags:

access:  protected
see:  PreparedStatementCommon::escape()


Overrides PreparedStatementCommon::escape() (Escapes special characters (usu. quotes) using native driver function.)

[ Top ]

method executeQuery [line 99]

void executeQuery( [mixed $p1 = null], [mixed $fetchmode = null])



Tags:

access:  public
see:  PreparedStatement::executeQuery()


Overrides PreparedStatementCommon::executeQuery() (Executes the SQL query in this PreparedStatement object and returns the resultset generated by the query.)

[ Top ]

method executeUpdate [line 131]

void executeUpdate( [mixed $params = null])



Tags:

access:  public
see:  PreparedStatement::executeUpdate()


Overrides PreparedStatementCommon::executeUpdate() (Executes the SQL INSERT, UPDATE, or DELETE statement in this PreparedStatement object.)

[ Top ]

method replaceParams [line 39]

void replaceParams( )

This does nothing since ODBC natively supports prepared statements.



Tags:

access:  protected
see:  PreparedStatementCommon::replaceParams()


Overrides PreparedStatementCommon::replaceParams() (Replaces placeholders with the specified parameter values in the SQL.)

[ Top ]

method setBlob [line 159]

void setBlob( mixed $paramIndex, mixed $blob)



Tags:



Overrides PreparedStatementCommon::setBlob() (parent method not documented)

[ Top ]

method setClob [line 184]

void setClob( mixed $paramIndex, mixed $clob)



Tags:



Overrides PreparedStatementCommon::setClob() (parent method not documented)

[ Top ]

method setNull [line 151]

void setNull( mixed $paramIndex)



Tags:



Overrides PreparedStatementCommon::setNull() (parent method not documented)

[ Top ]

method _execute [line 47]

void _execute( mixed $sql, mixed $params, mixed $fetchmode, mixed $isupdate)

Internal function to call native ODBC prepare/execute functions.



Tags:

access:  protected


[ Top ]


Documentation generated on Mon, 23 Aug 2004 21:52:23 -0400 by phpDocumentor 1.3.0RC3