Class Zend_Db_Statement_Mysqli

Description

Extends for Mysqli

  • license: New BSD License
  • copyright: Copyright (c) 2005-2007 Zend Technologies USA Inc. (http://www.zend.com)

Located in /Zend/Db/Statement/Mysqli.php (line 36)

Zend_Db_Statement
   |
   --Zend_Db_Statement_Mysqli
Variable Summary
 array $_keys
 mysqli_stmt $_stmt
 array $_values
Method Summary
 void closeCursor ()
 int|null columnCount ()
 string errorCode ()
 array errorInfo ()
 void execute ([ $params = array()])
 $data fetch ([$style $style = null], [$cursor $cursor = null], [$offset $offset = null])
 int rowCount ()
Variables
array $_keys (line 51)

Column names.

  • access: protected
mysqli_stmt $_stmt (line 44)

The mysqli_stmt object.

  • access: protected
array $_values (line 58)

Fetched result values.

  • access: protected

Inherited Variables

Inherited from Zend_Db_Statement

Zend_Db_Statement::$_attribute
Zend_Db_Statement::$_bindColumn
Zend_Db_Statement::$_bindParam
Zend_Db_Statement::$_fetchMode
Zend_Db_Statement::$_sqlParam
Zend_Db_Statement::$_sqlSplit
Methods
closeCursor (line 77)

Closes the cursor, allowing the statement to be executed again.

  • access: public
void closeCursor ()

Redefinition of:
Zend_Db_Statement::closeCursor()
Closes the cursor, allowing the statement to be executed again.
columnCount (line 88)

Returns the number of columns in the result set.

Returns null if the statement has no result set metadata.

  • return: field count.
  • access: public
int|null columnCount ()

Redefinition of:
Zend_Db_Statement::columnCount()
Returns the number of columns in the result set.
errorCode (line 101)

Retrieves an error code, if any, from the statement.

  • return: error code.
  • access: public
string errorCode ()

Redefinition of:
Zend_Db_Statement::errorCode()
Retrieves an error code, if any, from the statement.
errorInfo (line 111)

Retrieves an array of error information, if any, from the statement.

  • access: public
array errorInfo ()

Redefinition of:
Zend_Db_Statement::errorInfo()
Retrieves an array of error information, if any, from the statement.
execute (line 126)

Executes a prepared statement.

  • access: public
void execute ([ $params = array()])
  • array $params: OPTIONAL values to supply as input to statement parameters

Redefinition of:
Zend_Db_Statement::execute()
Executes a prepared statement.
fetch (line 195)

Fetches a row from the result set.

  • access: public
  • throws: Zend_Db_Statement_Mysqli_Exception
$data fetch ([$style $style = null], [$cursor $cursor = null], [$offset $offset = null])
  • $style $style
  • $cursor $cursor
  • $offset $offset

Redefinition of:
Zend_Db_Statement::fetch()
Fetches a row from a result set.
rowCount (line 66)

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

  • return: Number of rows affected.
  • access: public
  • throws: Zend_Db_Adapter_Exception
int rowCount ()

Redefinition of:
Zend_Db_Statement::rowCount()
returns the number of rows that were affected by the execution of an SQL statement

Inherited Methods

Inherited From Zend_Db_Statement

 Zend_Db_Statement::__construct()
 Zend_Db_Statement::bindColumn()
 Zend_Db_Statement::bindParam()
 Zend_Db_Statement::bindValue()
 Zend_Db_Statement::closeCursor()
 Zend_Db_Statement::columnCount()
 Zend_Db_Statement::errorCode()
 Zend_Db_Statement::errorInfo()
 Zend_Db_Statement::execute()
 Zend_Db_Statement::fetch()
 Zend_Db_Statement::fetchAll()
 Zend_Db_Statement::fetchColumn()
 Zend_Db_Statement::fetchObject()
 Zend_Db_Statement::getAttribute()
 Zend_Db_Statement::nextRowset()
 Zend_Db_Statement::rowCount()
 Zend_Db_Statement::setAttribute()
 Zend_Db_Statement::setFetchMode()
 Zend_Db_Statement::_joinSql()
 Zend_Db_Statement::_prepSql()

Documentation generated on Fri, 06 Apr 2007 18:28:05 -0700 by phpDocumentor 1.3.1