|
| | fetchAll ($style=null, $col=null) |
| |
| | _bindParam ($parameter, &$variable, $type=null, $length=null, $options=null) |
| |
| | bindColumn ($column, &$param, $type=null) |
| |
| | bindValue ($parameter, $value, $type=null) |
| |
| | closeCursor () |
| |
| | columnCount () |
| |
| | errorCode () |
| |
| | errorInfo () |
| |
| | _execute (array $params=null) |
| |
| | fetch ($style=null, $cursor=null, $offset=null) |
| |
| | getIterator () |
| |
| | fetchAll ($style=null, $col=null) |
| |
| | fetchColumn ($col=0) |
| |
| | fetchObject ($class='stdClass', array $config=array()) |
| |
| | getAttribute ($key) |
| |
| | getColumnMeta ($column) |
| |
| | nextRowset () |
| |
| | rowCount () |
| |
| | setAttribute ($key, $val) |
| |
| | setFetchMode ($mode) |
| |
| | __construct ($adapter, $sql) |
| |
| | bindColumn ($column, &$param, $type=null) |
| |
| | bindParam ($parameter, &$variable, $type=null, $length=null, $options=null) |
| |
| | bindValue ($parameter, $value, $type=null) |
| |
| | execute (array $params=null) |
| |
| | fetchAll ($style=null, $col=null) |
| |
| | fetchColumn ($col=0) |
| |
| | fetchObject ($class='stdClass', array $config=array()) |
| |
| | getAttribute ($key) |
| |
| | setAttribute ($key, $val) |
| |
| | setFetchMode ($mode) |
| |
| | _fetchBound ($row) |
| |
| | getAdapter () |
| |
| | getDriverStatement () |
| |
Definition at line 40 of file Ibm.php.
◆ _bindParam()
| _bindParam |
( |
|
$parameter, |
|
|
& |
$variable, |
|
|
|
$type = null, |
|
|
|
$length = null, |
|
|
|
$options = null |
|
) |
| |
Binds a parameter to the specified variable name.
- Parameters
-
| 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. |
- Returns
- bool
- Exceptions
-
Definition at line 80 of file Ibm.php.
83 if ((
$type ===
null) && ($length ===
null) && (
$options ===
null)) {
84 return $this->_stmt->bindParam($parameter,
$variable);
88 }
catch (PDOException $e) {
89 #require_once 'Zend/Db/Statement/Exception.php';
◆ fetchAll()
| fetchAll |
( |
|
$style = null, |
|
|
|
$col = null |
|
) |
| |
Returns an array containing all of the result set rows.
Behaves like parent, but if limit() is used, the final result removes the extra column 'zend_db_rownum'
- Parameters
-
| int | $style | OPTIONAL Fetch mode. |
| int | $col | OPTIONAL Column number, if fetch mode is by column. |
- Returns
- array Collection of rows, each in a format by the fetch mode.
- Exceptions
-
Implements Zend_Db_Statement_Interface.
Definition at line 54 of file Ibm.php.
56 $data = parent::fetchAll($style, $col);
58 $remove = $this->_adapter->foldCase(
'ZEND_DB_ROWNUM');
61 if (is_array(
$row) && array_key_exists($remove,
$row)) {
The documentation for this class was generated from the following file:
- vendor/magento/zendframework1/library/Zend/Db/Statement/Pdo/Ibm.php