◆ __construct()
OxidEsales\EshopCommunity\Core\Database\Adapter\Doctrine\ResultSet::__construct |
( |
Statement |
$statement | ) |
|
DoctrineResultSet constructor.
- Parameters
-
Statement | $statement | The statement we want to wrap in this class. |
◆ close()
OxidEsales\EshopCommunity\Core\Database\Adapter\Doctrine\ResultSet::close |
( |
| ) |
|
◆ count()
OxidEsales\EshopCommunity\Core\Database\Adapter\Doctrine\ResultSet::count |
( |
| ) |
|
Count elements of an object This method is executed when using the count() function on an object implementing Countable.
- Returns
- int The number of rows retrieved by the current statement.
◆ fetchAll()
OxidEsales\EshopCommunity\Core\Database\Adapter\Doctrine\ResultSet::fetchAll |
( |
| ) |
|
Returns an array containing all of the result set rows
- Returns
- array
◆ fetchRow()
OxidEsales\EshopCommunity\Core\Database\Adapter\Doctrine\ResultSet::fetchRow |
( |
| ) |
|
Fetches the next row from a result set and fills the fields array.
- Returns
- mixed The return value of this function on success depends on the fetch type. In all cases, FALSE is returned on failure.
◆ fieldCount()
OxidEsales\EshopCommunity\Core\Database\Adapter\Doctrine\ResultSet::fieldCount |
( |
| ) |
|
Returns the number of columns in the result set.
- Returns
- int The number of columns.
◆ getFields()
OxidEsales\EshopCommunity\Core\Database\Adapter\Doctrine\ResultSet::getFields |
( |
| ) |
|
Returns fields array
- Returns
- array containing the retrieved fields of the resultSet row
◆ getIterator()
OxidEsales\EshopCommunity\Core\Database\Adapter\Doctrine\ResultSet::getIterator |
( |
| ) |
|
Returns an external iterator.
- Returns
- Statement The Statment class implements Traversable
◆ getStatement()
OxidEsales\EshopCommunity\Core\Database\Adapter\Doctrine\ResultSet::getStatement |
( |
| ) |
|
|
protected |
Getter for the adapted statement.
- Returns
- Statement The adapted statement.
◆ setStatement()
OxidEsales\EshopCommunity\Core\Database\Adapter\Doctrine\ResultSet::setStatement |
( |
Statement |
$statement | ) |
|
|
protected |
Setter for the adapted statement.
- Parameters
-
Statement | $statement | The adapted statement. |
◆ setToEmptyState()
OxidEsales\EshopCommunity\Core\Database\Adapter\Doctrine\ResultSet::setToEmptyState |
( |
| ) |
|
|
protected |
Set the state of this wrapper to 'empty'.
◆ $currentRow
OxidEsales\EshopCommunity\Core\Database\Adapter\Doctrine\ResultSet::$currentRow = 0 |
|
private |
◆ $EOF
OxidEsales\EshopCommunity\Core\Database\Adapter\Doctrine\ResultSet::$EOF |
◆ $fields
OxidEsales\EshopCommunity\Core\Database\Adapter\Doctrine\ResultSet::$fields |
◆ $statement
OxidEsales\EshopCommunity\Core\Database\Adapter\Doctrine\ResultSet::$statement |
|
protected |
The documentation for this class was generated from the following file:
- /oxideshop-ce/source/Core/Database/Adapter/Doctrine/ResultSet.php