File: constants.xml

package info (click to toggle)
php-doc 20100521-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze, wheezy
  • size: 59,992 kB
  • ctags: 4,085
  • sloc: xml: 796,833; php: 21,338; cpp: 500; sh: 117; makefile: 58; awk: 28
file content (495 lines) | stat: -rw-r--r-- 14,302 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 297028 $ -->
<appendix xml:id="oci8.constants" xmlns="http://docbook.org/ns/docbook">
 &reftitle.constants;
 &extension.constants;
 <table>
   <title>OCI8 Function and Method Modes</title>
   <tgroup cols="2">
     <thead>
       <row>
         <entry>Constant</entry>
         <entry>Description</entry>
       </row>
     </thead>
     <tbody>
       <row>
         <entry>OCI_ASSOC</entry>
         <entry>
           Used with <function>oci_fetch_all</function> and
           <function>oci_fetch_array</function> to get results as an associative
           array.
         </entry>
       </row>
       <row>
         <entry>OCI_BOTH</entry>
         <entry>
           Used with <function>oci_fetch_all</function> and
           <function>oci_fetch_array</function> to get results as an
           array with both associative and number indices.
         </entry>
       </row>
       <row>
         <entry>OCI_COMMIT_ON_SUCCESS</entry>
         <entry>
           Statement execution mode for <function>oci_execute</function>
           call. Automatically commit changes when the statement has
           succeeded.
         </entry>
       </row>
       <row>
         <entry>OCI_CRED_EXT</entry>
         <entry>
           Used with <function>oci_connect</function> for using
           Oracles' External or OS authentication.  Introduced in PHP
           5.3 and PECL OCI8 1.3.4.
         </entry>
       </row>
       <row>
         <entry>OCI_DEFAULT</entry>
         <entry>
           Statement execution mode
           for <function>oci_execute</function>.  The transaction is
           not automatically committed when using this mode.  From PHP
           5.3.2 (PECL OCI8 1.4) onwards,
           <constant>OCI_NO_AUTO_COMMIT</constant> is preferred instead
           of <constant>OCI_DEFAULT</constant>.
         </entry>
       </row>
       <row>
         <entry>OCI_DESCRIBE_ONLY</entry>
         <entry>
           Statement execution mode
           for <function>oci_execute</function>.  Use this mode if you
           want meta data such as the column names but don't want to
           fetch rows from the query.
         </entry>
       </row>
       <row>
         <entry>OCI_EXACT_FETCH</entry>
         <entry>
           Obsolete. Statement fetch mode. Used when the application
           knows in advance exactly how many rows it will be fetching.
           This mode turns prefetching off for Oracle release 8 or
           later mode. The cursor is canceled after the desired rows
           are fetched which may result in reduced server-side
           resource usage.
         </entry>
       </row>
       <row>
         <entry>OCI_FETCHSTATEMENT_BY_COLUMN</entry>
         <entry>
           Default mode of <function>oci_fetch_all</function>.
         </entry>
       </row>
       <row>
         <entry>OCI_FETCHSTATEMENT_BY_ROW</entry>
         <entry>
           Alternative mode of <function>oci_fetch_all</function>.
         </entry>
       </row>
       <row>
         <entry>OCI_LOB_BUFFER_FREE</entry>
         <entry>
           Used with <xref linkend="function.oci-lob-flush"/> to free
           buffers used.
         </entry>
       </row>
       <row>
         <entry>OCI_NO_AUTO_COMMIT</entry>
         <entry>
           Statement execution mode
           for <function>oci_execute</function>. The statement is not
           committed automatically when using this mode.  For
           readability in new code, use this value instead of the
           obsolete <constant>OCI_DEFAULT</constant> constant.
           Introduced in PHP 5.3.2 (PECL OCI8 1.4).
         </entry>
       </row>
       <row>
         <entry>OCI_NUM</entry>
         <entry>
           Used with <function>oci_fetch_all</function> and
           <function>oci_fetch_array</function> to get results as an
           enumerated array.
         </entry>
       </row>
       <row>
         <entry>OCI_RETURN_LOBS</entry>
         <entry>
           Used with <function>oci_fetch_array</function> to get the
           data value of the LOB instead of the descriptor.
         </entry>
       </row>
       <row>
         <entry>OCI_RETURN_NULLS</entry>
         <entry>
           Used with <function>oci_fetch_array</function> to get empty
           array elements if the row items value is &null;.
         </entry>
       </row>
       <row>
         <entry>OCI_SEEK_CUR</entry>
         <entry>
           Used with <xref linkend="function.oci-lob-seek" /> to set the seek position.
         </entry>
       </row>
       <row>
         <entry>OCI_SEEK_END</entry>
         <entry>
           Used with <xref linkend="function.oci-lob-seek" /> to set the seek position.
         </entry>
       </row>
       <row>
         <entry>OCI_SEEK_SET</entry>
         <entry>
           Used with <xref linkend="function.oci-lob-seek" /> to set the seek position.
         </entry>
       </row>
       <row>
         <entry>OCI_SYSDATE</entry>
         <entry>
           Obsolete.
         </entry>
       </row>
       <row>
         <entry>OCI_SYSDBA</entry>
         <entry>
           Used with <function>oci_connect</function> to connect with
           the SYSDBA privilege. The &php.ini; setting
           <link linkend="ini.oci8.privileged-connect">oci8.privileged_connect</link>
           should be enabled to use this.
         </entry>
       </row>
       <row>
         <entry>OCI_SYSOPER</entry>
         <entry>
           Used with <function>oci_connect</function> to connect with
           the SYSOPER privilege. The &php.ini; setting
           <link linkend="ini.oci8.privileged-connect">oci8.privileged_connect</link>
           should be enabled to use this.
         </entry>
       </row>
       <row>
         <entry>OCI_TEMP_BLOB</entry>
         <entry>
           Used with <xref linkend="function.oci-lob-writetemporary"/>
           to indicate that a temporary BLOB should be created.
         </entry>
       </row>
       <row>
         <entry>OCI_TEMP_CLOB</entry>
         <entry>
           Used with <xref linkend="function.oci-lob-writetemporary"/>
           to indicate that a temporary CLOB should be created.
         </entry>
       </row>
     </tbody>
   </tgroup>
 </table>
 <table>
   <title>OCI8 Bind and Define Types</title>
   <tgroup cols="2">
     <thead>
       <row>
         <entry>Constant</entry>
         <entry>Description</entry>
       </row>
     </thead>
     <tbody>
       <row>
         <entry>OCI_B_BFILE</entry>
         <entry>
           Used with <function>oci_bind_by_name</function> when binding
           BFILEs.
         </entry>
       </row>
       <row>
         <entry>OCI_B_BIN</entry>
         <entry>
           &nbsp;
         </entry>
       </row>
       <row>
         <entry>OCI_B_BLOB</entry>
         <entry>
           Used with <function>oci_bind_by_name</function> when
           binding BLOBs.
         </entry>
       </row>
       <row>
         <entry>OCI_B_CFILEE</entry>
         <entry>
           Used with <function>oci_bind_by_name</function> when binding
           CFILEs.
         </entry>
       </row>
       <row>
         <entry>OCI_B_CLOB</entry>
         <entry>
           Used with <function>oci_bind_by_name</function> when binding
           CLOBs.
         </entry>
       </row>
       <row>
         <entry>OCI_B_CURSOR</entry>
         <entry>
           Used with <function>oci_bind_by_name</function> when binding
           cursors, previously allocated
           with <function>oci_new_descriptor</function>.
         </entry>
       </row>
       <row>
         <entry>OCI_B_INT</entry>
         <entry>
           Used with <function>oci_bind_array_by_name</function> to bind arrays of
           INTEGER.
         </entry>
       </row>
       <row>
         <entry>OCI_B_NTY</entry>
         <entry>
           Used with <function>oci_bind_by_name</function> when binding
           named data types. Note: in PHP &lt; 5.0 it was called
           <constant>OCI_B_SQLT_NTY</constant>.
         </entry>
       </row>
       <row>
         <entry>OCI_B_NUM</entry>
         <entry>
           Used with <function>oci_bind_array_by_name</function> to bind arrays of
           NUMBER.
         </entry>
       </row>
       <row>
         <entry>OCI_B_ROWID</entry>
         <entry>
           Used with <function>oci_bind_by_name</function> when binding
           ROWIDs.
         </entry>
       </row>
       <row>
         <entry>SQLT_AFC</entry>
         <entry>
           Used with <function>oci_bind_array_by_name</function> to bind arrays of
           CHAR.
         </entry>
       </row>
       <row>
         <entry>SQLT_AVC</entry>
         <entry>
           Used with <function>oci_bind_array_by_name</function> to bind arrays of
           VARCHAR2.
         </entry>
       </row>
       <row>
         <entry>SQLT_BDOUBLE</entry>
         <entry>
           &nbsp;
         </entry>
       </row>
       <row>
         <entry>SQLT_BFILEE</entry>
         <entry>
           The same as <constant>OCI_B_BFILE</constant>.
         </entry>
       </row>
       <row>
         <entry>SQLT_BFLOAT</entry>
         <entry>
           &nbsp;
         </entry>
       </row>
       <row>
         <entry>SQLT_BIN</entry>
         <entry>
           Used with <function>oci_bind_by_name</function> to bind RAW values.
         </entry>
       </row>
       <row>
         <entry>SQLT_BLOB</entry>
         <entry>
           The same as <constant>OCI_B_BLOB</constant>.
         </entry>
       </row>
       <row>
         <entry>SQLT_CFILEE</entry>
         <entry>
           The same as <constant>OCI_B_CFILEE</constant>.
         </entry>
       </row>
       <row>
         <entry>SQLT_CHR</entry>
         <entry>
           Used with <function>oci_bind_array_by_name</function> to bind arrays of
           VARCHAR2.
           Also used with <function>oci_bind_by_name</function>.
         </entry>
       </row>
       <row>
         <entry>SQLT_CLOB</entry>
         <entry>
           The same as <constant>OCI_B_CLOB</constant>.
         </entry>
       </row>
       <row>
         <entry>SQLT_FLT</entry>
         <entry>
           Used with <function>oci_bind_array_by_name</function> to bind arrays of
           FLOAT.
         </entry>
       </row>
       <row>
         <entry>SQLT_INT</entry>
         <entry>
           The same as <constant>OCI_B_INT</constant>.
         </entry>
       </row>
       <row>
         <entry>SQLT_LBI</entry>
         <entry>
           Used with <function>oci_bind_by_name</function> to bind LONG RAW values.
         </entry>
       </row>
       <row>
         <entry>SQLT_LNG</entry>
         <entry>
           Used with <function>oci_bind_by_name</function> to bind LONG values.
         </entry>
       </row>
       <row>
         <entry>SQLT_LVC</entry>
         <entry>
           Used with <function>oci_bind_array_by_name</function> to bind arrays of
           LONG VARCHAR.
         </entry>
       </row>
       <row>
         <entry>SQLT_NTY</entry>
         <entry>
           The same as <constant>OCI_B_NTY</constant>.
         </entry>
       </row>
       <row>
         <entry>SQLT_NUM</entry>
         <entry>
           The same as <constant>OCI_B_NUM</constant>.
         </entry>
       </row>
       <row>
         <entry>SQLT_ODT</entry>
         <entry>
           Used with <function>oci_bind_array_by_name</function> to bind arrays of
           LONG.
         </entry>
       </row>
       <row>
         <entry>SQLT_RDD</entry>
         <entry>
           The same as <constant>OCI_B_ROWID</constant>.
         </entry>
       </row>
       <row>
         <entry>SQLT_RSET</entry>
         <entry>
           The same as <constant>OCI_B_CURSOR</constant>.           
         </entry>
       </row>
       <row>
         <entry>SQLT_STR</entry>
         <entry>
           Used with <function>oci_bind_array_by_name</function> to bind arrays of
           STRING.
         </entry>
       </row>
       <row>
         <entry>SQLT_UIN</entry>
         <entry>
           &nbsp;
         </entry>
       </row>
       <row>
         <entry>SQLT_VCS</entry>
         <entry>
           Used with <function>oci_bind_array_by_name</function> to bind arrays of
           VARCHAR.
         </entry>
       </row>
     </tbody>
   </tgroup>
 </table>
 <table>
   <title>OCI8 Descriptor Types</title>
   <tgroup cols="2">
     <thead>
       <row>
         <entry>Constant</entry>
         <entry>Description</entry>
       </row>
     </thead>
     <tbody>
       <row>
         <entry>OCI_DTYPE_FILE</entry>
         <entry>
           This flag tells <function>oci_new_descriptor</function> to
           initialize a new FILE descriptor.
         </entry>
       </row>
       <row>
         <entry>OCI_DTYPE_LOB</entry>
         <entry>
           This flag tells <function>oci_new_descriptor</function> to
           initialize a new LOB descriptor.
         </entry>
       </row>
       <row>
         <entry>OCI_DTYPE_ROWID</entry>
         <entry>
           This flag tells <function>oci_new_descriptor</function> to
           initialize a new ROWID descriptor.
         </entry>
       </row>
       <row>
         <entry>OCI_D_FILE</entry>
         <entry>
           The same as <constant>OCI_DTYPE_FILE</constant>.
         </entry>
       </row>
       <row>
         <entry>OCI_D_LOB</entry>
         <entry>
           The same as <constant>OCI_DTYPE_LOB</constant>.
         </entry>
       </row>
       <row>
         <entry>OCI_D_ROWID</entry>
         <entry>
           The same as <constant>OCI_DTYPE_ROWID</constant>.
         </entry>
       </row>
     </tbody>
   </tgroup>
 </table>
</appendix>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->