~aw/ubuntu/lucid/davical/trunk

« back to all changes in this revision

Viewing changes to docs/api/awl/PdoQuery/PdoQuery.html

  • Committer: Bazaar Package Importer
  • Author(s): Andrew McMillan
  • Date: 2009-04-11 00:08:31 UTC
  • Revision ID: james.westby@ubuntu.com-20090411000831-zc97ye8hni3ozfzm
Tags: 0.9.6.3
* General bug fixing.
* Added Italian locale from Alessandro De Zorzi
* Adjust timezone handling in regression testing (Markus Warg).
* Many fixes to caldav-client from Michael Rasmussen.
* Update caldav-client to use direct socket IO from Andres Obrero.
* Added dummy handler for POST CANCEL events for iCal compatibilty (Wolfgang Herget).
* Support usernames with spaces or punctuation.
* Correct errors in handling confidential events.
* Improved response to GET for calendar with a single event.
* Documentation corrections.
* Remove the misguided hide_todo configuration option.
* Fix a bug in hiding alarms.
* Deprecate 'collections_always_exist' config option and restrict it's scope.
* Updated French translation.
* Updated relational integrity constraints.
* Fix database versioning.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="iso-8859-1"?>
 
2
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
3
  <html xmlns="http://www.w3.org/1999/xhtml">
 
4
                <head>
 
5
                        <!-- template designed by Marco Von Ballmoos -->
 
6
                        <title>Docs For Class PdoQuery</title>
 
7
                        <link rel="stylesheet" href="../../media/stylesheet.css" />
 
8
                        <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
 
9
                </head>
 
10
                <body>
 
11
                        <div class="page-body">                 
 
12
<h2 class="class-name"><img src="../../media/images/Class_logo.png"
 
13
                                                                                                                alt=" Class"
 
14
                                                                                                                title=" Class"
 
15
                                                                                                                style="vertical-align: middle"> PdoQuery</h2>
 
16
 
 
17
<a name="sec-description"></a>
 
18
<div class="info-box">
 
19
        <div class="info-box-title">Description</div>
 
20
        <div class="nav-bar">
 
21
                                        <span class="disabled">Description</span> |
 
22
                                                                                                                        <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
 
23
                                                
 
24
                                        </div>
 
25
        <div class="info-box-body">
 
26
                        <!-- ========== Info from phpDoc block ========= -->
 
27
<p class="short-description">A variable of this class is normally constructed through a call to PdoDatabase::Query or PdoDatabase::Prepare,  associating it on construction with the database which is to be queried.</p>
 
28
                <p class="notes">
 
29
                        Located in <a class="field" href="_inc---PdoQuery.php.html">/inc/PdoQuery.php</a> (line <span class="field">395</span>)
 
30
                </p>
 
31
                
 
32
                                
 
33
                <pre></pre>
 
34
        
 
35
                        </div>
 
36
</div>
 
37
 
 
38
 
 
39
 
 
40
 
 
41
        <a name="sec-method-summary"></a>
 
42
        <div class="info-box">
 
43
                <div class="info-box-title">Method Summary</span></div>
 
44
                <div class="nav-bar">
 
45
                        <a href="#sec-description">Description</a> |
 
46
                                                                                                <span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
 
47
                </div>
 
48
                <div class="info-box-body">                     
 
49
                        <div class="method-summary">
 
50
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <div class="method-definition">
 
51
                                        <img src="../../media/images/Constructor.png" alt=" "/>
 
52
                                                                                        <span class="method-result">PdoQuery</span>
 
53
                                                                                <a href="#__construct" title="details" class="method-name">__construct</a>
 
54
                                                                                        (<span class="var-type"></span>&nbsp;<span class="var-name">$db</span>)
 
55
                                                                        </div>
 
56
                                                                                                                                <div class="method-definition">
 
57
                                        <img src="../../media/images/Method.png" alt=" "/>
 
58
                                                                                        <span class="method-result">void</span>
 
59
                                                                                <a href="#Exec" title="details" class="method-name">Exec</a>
 
60
                                                                                ()
 
61
                                                                        </div>
 
62
                                                                                                                                <div class="method-definition">
 
63
                                        <img src="../../media/images/Method.png" alt=" "/>
 
64
                                                                                        <span class="method-result">void</span>
 
65
                                                                                <a href="#Fetch" title="details" class="method-name">Fetch</a>
 
66
                                                                                ()
 
67
                                                                        </div>
 
68
                                                                                                                                <div class="method-definition">
 
69
                                        <img src="../../media/images/Method.png" alt=" "/>
 
70
                                                                                        <span class="method-result">void</span>
 
71
                                                                                <a href="#FetchAll" title="details" class="method-name">FetchAll</a>
 
72
                                                                                ()
 
73
                                                                        </div>
 
74
                                                                                                                                <div class="method-definition">
 
75
                                        <img src="../../media/images/Method.png" alt=" "/>
 
76
                                                                                        <span class="method-result">void</span>
 
77
                                                                                <a href="#FetchArray" title="details" class="method-name">FetchArray</a>
 
78
                                                                                ()
 
79
                                                                        </div>
 
80
                                                                                                                                <div class="method-definition">
 
81
                                        <img src="../../media/images/Method.png" alt=" "/>
 
82
                                                                                        <span class="method-result">void</span>
 
83
                                                                                <a href="#MaxDuration" title="details" class="method-name">MaxDuration</a>
 
84
                                                                                        (<span class="var-type">double</span>&nbsp;<span class="var-name">$seconds</span>)
 
85
                                                                        </div>
 
86
                                                                                                                                <div class="method-definition">
 
87
                                        <img src="../../media/images/Method.png" alt=" "/>
 
88
                                                                                        <span class="method-result">void</span>
 
89
                                                                                <a href="#Query" title="details" class="method-name">Query</a>
 
90
                                                                                ()
 
91
                                                                        </div>
 
92
                                                                                                                                <div class="method-definition">
 
93
                                        <img src="../../media/images/Method.png" alt=" "/>
 
94
                                                                                        <span class="method-result">void</span>
 
95
                                                                                <a href="#Rows" title="details" class="method-name">Rows</a>
 
96
                                                                                ()
 
97
                                                                        </div>
 
98
                                                                                        </div>
 
99
                </div>
 
100
        </div>          
 
101
 
 
102
        
 
103
        <a name="sec-methods"></a>
 
104
        <div class="info-box">
 
105
                <div class="info-box-title">Methods</div>
 
106
                <div class="nav-bar">
 
107
                        <a href="#sec-description">Description</a> |
 
108
                                                                                                        <a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
 
109
                                                
 
110
                </div>
 
111
                <div class="info-box-body">
 
112
                        <A NAME='method_detail'></A>
 
113
<a name="method__construct" id="__construct"><!-- --></a>
 
114
<div class="oddrow">
 
115
        
 
116
        <div class="method-header">
 
117
                <img src="../../media/images/Constructor.png" />
 
118
                <span class="method-title">Constructor __construct</span> (line <span class="line-number">406</span>)
 
119
        </div> 
 
120
        
 
121
        <!-- ========== Info from phpDoc block ========= -->
 
122
<p class="short-description">Where $db is a PdoDatabase object. This constructs the PdoQuery. If there are further parameters they  will be in turn, the sql, and any positional parameters to replace into that, and will be passed to  $this-&gt;Query() before returning.</p>
 
123
        
 
124
        <div class="method-signature">
 
125
                <span class="method-result">PdoQuery</span>
 
126
                <span class="method-name">
 
127
                        __construct
 
128
                </span>
 
129
                                        (<span class="var-type"></span>&nbsp;<span class="var-name">$db</span>)
 
130
                        </div>
 
131
        
 
132
                        <ul class="parameters">
 
133
                                        <li>
 
134
                                <span class="var-type"></span>
 
135
                                <span class="var-name">$db</span>                       </li>
 
136
                                </ul>
 
137
                
 
138
                        
 
139
        </div>
 
140
<a name="methodExec" id="Exec"><!-- --></a>
 
141
<div class="evenrow">
 
142
        
 
143
        <div class="method-header">
 
144
                <img src="../../media/images/Method.png" />
 
145
                <span class="method-title">Exec</span> (line <span class="line-number">433</span>)
 
146
        </div> 
 
147
        
 
148
        <!-- ========== Info from phpDoc block ========= -->
 
149
<p class="short-description">If there are (some) positional parameters in the prepared query, now is the last chance to supply them...</p>
 
150
<p class="description"><p>before the query is executed. Returns true on success and false on error.</p></p>
 
151
        
 
152
        <div class="method-signature">
 
153
                <span class="method-result">void</span>
 
154
                <span class="method-name">
 
155
                        Exec
 
156
                </span>
 
157
                                ()
 
158
                        </div>
 
159
        
 
160
                
 
161
                        
 
162
        </div>
 
163
<a name="methodFetch" id="Fetch"><!-- --></a>
 
164
<div class="oddrow">
 
165
        
 
166
        <div class="method-header">
 
167
                <img src="../../media/images/Method.png" />
 
168
                <span class="method-title">Fetch</span> (line <span class="line-number">447</span>)
 
169
        </div> 
 
170
        
 
171
        <!-- ========== Info from phpDoc block ========= -->
 
172
<p class="short-description">Will fetch the next row from the query into an object with elements named for the fields in the result.</p>
 
173
        
 
174
        <div class="method-signature">
 
175
                <span class="method-result">void</span>
 
176
                <span class="method-name">
 
177
                        Fetch
 
178
                </span>
 
179
                                ()
 
180
                        </div>
 
181
        
 
182
                
 
183
                        
 
184
        </div>
 
185
<a name="methodFetchAll" id="FetchAll"><!-- --></a>
 
186
<div class="evenrow">
 
187
        
 
188
        <div class="method-header">
 
189
                <img src="../../media/images/Method.png" />
 
190
                <span class="method-title">FetchAll</span> (line <span class="line-number">464</span>)
 
191
        </div> 
 
192
        
 
193
        <!-- ========== Info from phpDoc block ========= -->
 
194
<p class="short-description">Will fetch all result rows from the query into an array of objects with elements named for the fields in the result.</p>
 
195
        
 
196
        <div class="method-signature">
 
197
                <span class="method-result">void</span>
 
198
                <span class="method-name">
 
199
                        FetchAll
 
200
                </span>
 
201
                                ()
 
202
                        </div>
 
203
        
 
204
                
 
205
                        
 
206
        </div>
 
207
<a name="methodFetchArray" id="FetchArray"><!-- --></a>
 
208
<div class="oddrow">
 
209
        
 
210
        <div class="method-header">
 
211
                <img src="../../media/images/Method.png" />
 
212
                <span class="method-title">FetchArray</span> (line <span class="line-number">456</span>)
 
213
        </div> 
 
214
        
 
215
        <!-- ========== Info from phpDoc block ========= -->
 
216
<p class="short-description">Will fetch the next row from the query into an array with numbered elements and with elements named  for the fields in the result.</p>
 
217
        
 
218
        <div class="method-signature">
 
219
                <span class="method-result">void</span>
 
220
                <span class="method-name">
 
221
                        FetchArray
 
222
                </span>
 
223
                                ()
 
224
                        </div>
 
225
        
 
226
                
 
227
                        
 
228
        </div>
 
229
<a name="methodMaxDuration" id="MaxDuration"><!-- --></a>
 
230
<div class="evenrow">
 
231
        
 
232
        <div class="method-header">
 
233
                <img src="../../media/images/Method.png" />
 
234
                <span class="method-title">MaxDuration</span> (line <span class="line-number">481</span>)
 
235
        </div> 
 
236
        
 
237
        <!-- ========== Info from phpDoc block ========= -->
 
238
<p class="short-description">Used to set the maximum duration for this query before it will be logged as a slow query.</p>
 
239
        
 
240
        <div class="method-signature">
 
241
                <span class="method-result">void</span>
 
242
                <span class="method-name">
 
243
                        MaxDuration
 
244
                </span>
 
245
                                        (<span class="var-type">double</span>&nbsp;<span class="var-name">$seconds</span>)
 
246
                        </div>
 
247
        
 
248
                        <ul class="parameters">
 
249
                                        <li>
 
250
                                <span class="var-type">double</span>
 
251
                                <span class="var-name">$seconds</span><span class="var-description">: The maximum duration for this statement before logging it as 'slow'</span>                        </li>
 
252
                                </ul>
 
253
                
 
254
                        
 
255
        </div>
 
256
<a name="methodQuery" id="Query"><!-- --></a>
 
257
<div class="oddrow">
 
258
        
 
259
        <div class="method-header">
 
260
                <img src="../../media/images/Method.png" />
 
261
                <span class="method-title">Query</span> (line <span class="line-number">419</span>)
 
262
        </div> 
 
263
        
 
264
        <!-- ========== Info from phpDoc block ========= -->
 
265
<p class="short-description">If the sql is supplied then PDO::prepare will be called with that SQL to prepare the query, and if there  are positional parameters then they will be replaced into the sql_string (with appropriate escaping)  before the call to PDO::prepare.  Query preparation time is counted towards total query execution time.</p>
 
266
        
 
267
        <div class="method-signature">
 
268
                <span class="method-result">void</span>
 
269
                <span class="method-name">
 
270
                        Query
 
271
                </span>
 
272
                                ()
 
273
                        </div>
 
274
        
 
275
                
 
276
                        
 
277
        </div>
 
278
<a name="methodRows" id="Rows"><!-- --></a>
 
279
<div class="evenrow">
 
280
        
 
281
        <div class="method-header">
 
282
                <img src="../../media/images/Method.png" />
 
283
                <span class="method-title">Rows</span> (line <span class="line-number">472</span>)
 
284
        </div> 
 
285
        
 
286
        <!-- ========== Info from phpDoc block ========= -->
 
287
<p class="short-description">An accessor for the number of rows affected when the query was executed.</p>
 
288
        
 
289
        <div class="method-signature">
 
290
                <span class="method-result">void</span>
 
291
                <span class="method-name">
 
292
                        Rows
 
293
                </span>
 
294
                                ()
 
295
                        </div>
 
296
        
 
297
                
 
298
                        
 
299
        </div>
 
300
                                                
 
301
                </div>
 
302
        </div>
 
303
 
 
304
        
 
305
        <p class="notes" id="credit">
 
306
                Documentation generated on Fri, 10 Apr 2009 23:45:54 +1200 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.3.2</a>
 
307
        </p>
 
308
        </div></body>
 
309
</html>
 
 
b'\\ No newline at end of file'