Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
44 lines (37 sloc) 1.07 KB
<?php
/**
* Copyright © OXID eSales AG. All rights reserved.
* See LICENSE file for license details.
*/
namespace OxidEsales\EshopCommunity\Core\Database\Adapter;
/**
* Interface ResultSetInterface
*/
interface ResultSetInterface extends \Traversable, \Countable
{
/**
* Closes the cursor, enabling the statement to be executed again.
*
* @return boolean Returns true on success or false on failure.
*/
public function close();
/**
* Returns an array containing all of the result set rows
*
* @return array
*/
public function fetchAll();
/**
* Returns the next row from a result set.
*
* @return mixed The return value of this function on success depends on the fetch type.
* In all cases, FALSE is returned on failure.
*/
public function fetchRow();
/**
* Returns the number of columns in the result set
*
* @return integer Returns the number of columns in the result set represented by the PDOStatement object.
*/
public function fieldCount();
}
You can’t perform that action at this time.