| Category | Zend |
| Package | Zend_Db |
| Subpackage | Statement |
| Copyright | Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com) |
| License | http://framework.zend.com/license/new-bsd New BSD License |
| Category | Zend |
| Package | Zend_Db |
| Subpackage | Statement |
| Copyright | Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com) |
| License | http://framework.zend.com/license/new-bsd New BSD License |
| # $_executed | Query executed |
| # $_keys | Column names |
| # $_originalSQL | The connection_stmt object original string |
| # $_stmt | The connection_stmt object |
| # _bindParam() | Binds a parameter to the specified variable name |
| + _execute() | Executes a prepared statement |
| # _prepare() | Prepares statement handle |
| + closeCursor() | Closes the cursor, allowing the statement to be executed again |
| + columnCount() | Returns the number of columns in the result set. |
| + errorCode() | Retrieves the error code, if any, associated with the last operation on |
| + errorInfo() | Retrieves an array of error information, if any, associated with the |
| + fetch() | Fetches a row from the result set |
| + fetchColumn() | Returns a single column from the next row of a result set |
| + fetchObject() | Fetches the next row and returns it as an object |
| + getColumnMeta() | Returns metadata for a column in a result set |
| + nextRowset() | Retrieves the next rowset (result set) for a SQL statement that has |
| + rowCount() | Returns the number of rows affected by the execution of the |
protected $_originalSQL
protected function _bindParam( |
$parameter)
|
mixed $parameter |
Name the parameter, either integer or string. |
mixed $variable |
Reference to PHP variable containing the value. |
mixed $type |
OPTIONAL Datatype of SQL parameter. |
mixed $length |
OPTIONAL Length of SQL parameter. |
mixed $options |
OPTIONAL Other options. |
Zend_Db_Statement_Exception
public function _execute( |
array $params = null)
|
array $params |
Zend_Db_Statement_Exception
protected function _prepare( |
$sql)
|
string $sql |
public function closeCursor( |
)
|
public function columnCount( |
)
|
public function errorCode( |
)
|
public function errorInfo( |
)
|
public function fetch( |
$style = null)
|
int $style |
OPTIONAL Fetch mode for this fetch operation. |
int $cursor |
OPTIONAL Absolute, relative, or other. |
int $offset |
OPTIONAL Number for absolute or relative cursors. |
Zend_Db_Statement_Exception
public function fetchColumn( |
$col)
|
int $col |
OPTIONAL Position of the column to fetch. |
Zend_Db_Statement_Exception
public function fetchObject( |
$class = 'stdClass')
|
string $class |
OPTIONAL Name of the class to create. |
array $config |
Zend_Db_Statement_Exception
public function getColumnMeta( |
$column)
|
int $column |
public function nextRowset( |
)
|
Zend_Db_Statement_Exception
public function rowCount( |
)
|
Zend_Db_Statement_Exception