3
* $Id: Statement.php 4164 2008-04-02 03:16:52Z jwage $
5
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
6
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
7
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
8
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
9
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
10
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
11
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
12
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
13
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
14
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
15
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
17
* This software consists of voluntary contributions made by many individuals
18
* and is licensed under the LGPL. For more information, see
19
* <http://www.phpdoctrine.org>.
23
* Doctrine_Adapter_Statement
25
* @author Konsta Vesterinen <kvesteri@cc.hut.fi>
26
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
29
* @link www.phpdoctrine.org
31
* @version $Revision: 4164 $
33
abstract class Doctrine_Adapter_Statement
39
* @param string $value
42
public function bindValue($no, $value)
48
* @see Doctrine::FETCH_* constants
49
* @param integer $fetchStyle Controls how the next row will be returned to the caller.
50
* This value must be one of the Doctrine::FETCH_* constants,
51
* defaulting to Doctrine::FETCH_BOTH
53
* @param integer $cursorOrientation For a PDOStatement object representing a scrollable cursor,
54
* this value determines which row will be returned to the caller.
55
* This value must be one of the Doctrine::FETCH_ORI_* constants, defaulting to
56
* Doctrine::FETCH_ORI_NEXT. To request a scrollable cursor for your
57
* Doctrine_Adapter_Statement_Interface object,
58
* you must set the Doctrine::ATTR_CURSOR attribute to Doctrine::CURSOR_SCROLL when you
59
* prepare the SQL statement with Doctrine_Adapter_Interface->prepare().
61
* @param integer $cursorOffset For a Doctrine_Adapter_Statement_Interface object representing a scrollable cursor for which the
62
* $cursorOrientation parameter is set to Doctrine::FETCH_ORI_ABS, this value specifies
63
* the absolute number of the row in the result set that shall be fetched.
65
* For a Doctrine_Adapter_Statement_Interface object representing a scrollable cursor for
66
* which the $cursorOrientation parameter is set to Doctrine::FETCH_ORI_REL, this value
67
* specifies the row to fetch relative to the cursor position before
68
* Doctrine_Adapter_Statement_Interface->fetch() was called.
72
public function fetch()
80
public function nextRowset()
88
public function execute()
96
public function errorCode()
104
public function errorInfo()
112
public function rowCount()
118
* @param string $mode
121
public function setFetchMode($mode)
129
public function columnCount()
b'\\ No newline at end of file'