ClassInterface Zend_Db_Statement_Interface

Description

Emulates a PDOStatement for native database adapters.

Located in /Zend/Db/Statement/Interface.php (line 30)


	
			
Method Summary
 void bindColumn (mixed $column, mixed &$param, [mixed $type = null])
 void bindParam (mixed $parameter, mixed &$variable, [mixed $type = null], [mixed $length = null], [mixed $options = null])
 void bindValue (mixed $parameter, mixed $value, [mixed $type = null])
 void closeCursor ()
 void columnCount ()
 void errorCode ()
 void errorInfo ()
 void execute ([mixed $params = null])
 void fetch ([mixed $style = null], [mixed $cursor = null], [mixed $offset = null])
 void fetchAll ([mixed $style = null], [mixed $col = null])
 void fetchColumn (mixed $col)
 void fetchObject ([mixed $class = 'stdClass'], [mixed $config = null])
 void getAttribute (mixed $key)
 void nextRowset ()
 void rowCount ()
 void setAttribute (mixed $key, mixed $val)
 void setFetchMode (mixed $mode)
Methods
bindColumn (line 35)

binds a PHP variable to an output column in a result set

  • access: public
void bindColumn (mixed $column, mixed &$param, [mixed $type = null])
bindParam (line 40)

binds a PHP variable to a parameter in the prepared statement

  • access: public
void bindParam (mixed $parameter, mixed &$variable, [mixed $type = null], [mixed $length = null], [mixed $options = null])
bindValue (line 46)

binds a value to a parameter in the prepared statement

  • access: public
void bindValue (mixed $parameter, mixed $value, [mixed $type = null])
closeCursor (line 51)

closes the cursor, allowing the statement to be executed again

  • access: public
void closeCursor ()
columnCount (line 56)

returns the number of columns in the result set

  • access: public
void columnCount ()
errorCode (line 61)

retrieves an error code, if any, from the statement

  • access: public
void errorCode ()
errorInfo (line 66)

retrieves an array of error information, if any, from the statement

  • access: public
void errorInfo ()
execute (line 71)

executes a prepared statement

  • access: public
void execute ([mixed $params = null])
fetch (line 76)

fetches a row from a result set

  • access: public
void fetch ([mixed $style = null], [mixed $cursor = null], [mixed $offset = null])
fetchAll (line 81)

fetches an array containing all of the rows from a result set

  • access: public
void fetchAll ([mixed $style = null], [mixed $col = null])
fetchColumn (line 86)

returns the data from a single column in a result set

  • access: public
void fetchColumn (mixed $col)
fetchObject (line 91)

fetches the next row and returns it as an object

  • access: public
void fetchObject ([mixed $class = 'stdClass'], [mixed $config = null])
getAttribute (line 96)

retrieves a Zend_Db_Statement attribute

  • access: public
void getAttribute (mixed $key)
nextRowset (line 101)

retrieves the next rowset (result set)

  • access: public
void nextRowset ()
rowCount (line 106)

returns the number of rows that were affected by the execution of an SQL statement

  • access: public
void rowCount ()
setAttribute (line 111)

sets a Zend_Db_Statement attribute

  • access: public
void setAttribute (mixed $key, mixed $val)
setFetchMode (line 116)

sets the fetch mode for a Zend_Db_Statement

  • access: public
void setFetchMode (mixed $mode)

Documentation generated on Tue, 18 Apr 2006 11:55:15 -0700 by phpDocumentor 1.3.0RC3