~patrix-sbs/oraculum/git

« back to all changes in this revision

Viewing changes to library/components/doctrine/lib/Doctrine/Adapter/Statement.php

  • Committer: Patrick Kaminski
  • Date: 2009-09-02 02:33:07 UTC
  • Revision ID: git-v1:943803254fca67bfb4c0374422b1b836b14dc518
Tags: v0.1a
Sending Oraculum Framework v0.1 alpha

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
/*
 
3
 *  $Id: Statement.php 4164 2008-04-02 03:16:52Z jwage $
 
4
 *
 
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.
 
16
 *
 
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>.
 
20
 */
 
21
 
 
22
/**
 
23
 * Doctrine_Adapter_Statement
 
24
 *
 
25
 * @author      Konsta Vesterinen <kvesteri@cc.hut.fi>
 
26
 * @license     http://www.opensource.org/licenses/lgpl-license.php LGPL
 
27
 * @package     Doctrine
 
28
 * @subpackage  Adapter
 
29
 * @link        www.phpdoctrine.org
 
30
 * @since       1.0
 
31
 * @version     $Revision: 4164 $
 
32
 */
 
33
abstract class Doctrine_Adapter_Statement
 
34
{
 
35
    /**
 
36
     * bindValue
 
37
     *
 
38
     * @param string $no 
 
39
     * @param string $value 
 
40
     * @return void
 
41
     */
 
42
    public function bindValue($no, $value)
 
43
    { }
 
44
 
 
45
    /**
 
46
     * fetch
 
47
     *
 
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
 
52
     *
 
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().
 
60
     *
 
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.
 
64
     *                                      
 
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.
 
69
     *
 
70
     * @return mixed
 
71
     */
 
72
    public function fetch()
 
73
    { }
 
74
 
 
75
    /**
 
76
     * nextRowSet
 
77
     *
 
78
     * @return void
 
79
     */
 
80
    public function nextRowset()
 
81
    { }
 
82
 
 
83
    /**
 
84
     * execute()
 
85
     *
 
86
     * @return void
 
87
     */
 
88
    public function execute()
 
89
    { }
 
90
 
 
91
    /**
 
92
     * errorCode
 
93
     *
 
94
     * @return void
 
95
     */
 
96
    public function errorCode()
 
97
    { }
 
98
 
 
99
    /**
 
100
     * errorInfo
 
101
     *
 
102
     * @return void
 
103
     */
 
104
    public function errorInfo()
 
105
    { }
 
106
 
 
107
    /**
 
108
     * rowCount
 
109
     *
 
110
     * @return void
 
111
     */
 
112
    public function rowCount()
 
113
    { }
 
114
 
 
115
    /**
 
116
     * setFetchMode
 
117
     *
 
118
     * @param string $mode 
 
119
     * @return void
 
120
     */
 
121
    public function setFetchMode($mode)
 
122
    { }
 
123
 
 
124
    /**
 
125
     * columnCount
 
126
     *
 
127
     * @return void
 
128
     */
 
129
    public function columnCount()
 
130
    { }
 
131
}
 
 
b'\\ No newline at end of file'