. */ /** * Doctrine_Adapter_Statement * * @author Konsta Vesterinen * @license http://www.opensource.org/licenses/lgpl-license.php LGPL * @package Doctrine * @subpackage Adapter * @link www.phpdoctrine.org * @since 1.0 * @version $Revision: 5798 $ */ abstract class Doctrine_Adapter_Statement { /** * bindValue * * @param string $no * @param string $value * @return void */ public function bindValue($no, $value) { } /** * fetch * * @see Doctrine::FETCH_* constants * @param integer $fetchStyle Controls how the next row will be returned to the caller. * This value must be one of the Doctrine::FETCH_* constants, * defaulting to Doctrine::FETCH_BOTH * * @param integer $cursorOrientation For a PDOStatement object representing a scrollable cursor, * this value determines which row will be returned to the caller. * This value must be one of the Doctrine::FETCH_ORI_* constants, defaulting to * Doctrine::FETCH_ORI_NEXT. To request a scrollable cursor for your * Doctrine_Adapter_Statement_Interface object, * you must set the Doctrine::ATTR_CURSOR attribute to Doctrine::CURSOR_SCROLL when you * prepare the SQL statement with Doctrine_Adapter_Interface->prepare(). * * @param integer $cursorOffset For a Doctrine_Adapter_Statement_Interface object representing a scrollable cursor for which the * $cursorOrientation parameter is set to Doctrine::FETCH_ORI_ABS, this value specifies * the absolute number of the row in the result set that shall be fetched. * * For a Doctrine_Adapter_Statement_Interface object representing a scrollable cursor for * which the $cursorOrientation parameter is set to Doctrine::FETCH_ORI_REL, this value * specifies the row to fetch relative to the cursor position before * Doctrine_Adapter_Statement_Interface->fetch() was called. * * @return mixed */ public function fetch() { } /** * nextRowSet * * @return void */ public function nextRowset() { } /** * execute() * * @return void */ public function execute() { } /** * errorCode * * @return void */ public function errorCode() { } /** * errorInfo * * @return void */ public function errorInfo() { } /** * rowCount * * @return void */ public function rowCount() { } /** * setFetchMode * * @param string $mode * @return void */ public function setFetchMode($mode) { } /** * columnCount * * @return void */ public function columnCount() { } }