PHP Class Zend_Db_Statement_Pdo_Ibm

Matches the interface of PDOStatement. All methods simply proxy to the matching method in PDOStatement. PDOExceptions thrown by PDOStatement are re-thrown as Zend_Db_Statement_Exception.
Inheritance: extends Zend_Db_Statement_Pdo
Show file Open project: dbpatch/dbpatch Class Usage Examples

Public Methods

Method Description
_bindParam ( mixed $parameter, mixed &$variable, mixed $type = null, mixed $length = null, mixed $options = null ) : boolean Binds a parameter to the specified variable name.
fetchAll ( integer $style = null, integer $col = null ) : array Returns an array containing all of the result set rows.

Method Details

_bindParam() public method

Binds a parameter to the specified variable name.
public _bindParam ( mixed $parameter, mixed &$variable, mixed $type = null, mixed $length = null, mixed $options = null ) : boolean
$parameter mixed Name the parameter, either integer or string.
$variable mixed Reference to PHP variable containing the value.
$type mixed OPTIONAL Datatype of SQL parameter.
$length mixed OPTIONAL Length of SQL parameter.
$options mixed OPTIONAL Other options.
return boolean

fetchAll() public method

Behaves like parent, but if limit() is used, the final result removes the extra column 'zend_db_rownum'
public fetchAll ( integer $style = null, integer $col = null ) : array
$style integer OPTIONAL Fetch mode.
$col integer OPTIONAL Column number, if fetch mode is by column.
return array Collection of rows, each in a format by the fetch mode.