Debian Codegraph @

codelitephp/resources/cc/oci8.php

raw
1 <?php
2
3 // Start of oci8 v.2.0.8
4
5 class OCI_Lob {
6
7 /**
8 * Returns large object's contents
9 * @link http://www.php.net/manual/en/oci-lob.load.php
10 */
11 public function load () {}
12
13 /**
14 * Returns the current position of internal pointer of large object
15 * @link http://www.php.net/manual/en/oci-lob.tell.php
16 */
17 public function tell () {}
18
19 /**
20 * Truncates large object
21 * @link http://www.php.net/manual/en/oci-lob.truncate.php
22 * @param length[optional]
23 */
24 public function truncate ($length) {}
25
26 /**
27 * Erases a specified portion of the internal LOB data
28 * @link http://www.php.net/manual/en/oci-lob.erase.php
29 * @param offset[optional]
30 * @param length[optional]
31 */
32 public function erase ($offset, $length) {}
33
34 /**
35 * Flushes/writes buffer of the LOB to the server
36 * @link http://www.php.net/manual/en/oci-lob.flush.php
37 * @param flag[optional]
38 */
39 public function flush ($flag) {}
40
41 /**
42 * Changes current state of buffering for the large object
43 * @link http://www.php.net/manual/en/oci-lob.setbuffering.php
44 * @param mode
45 */
46 public function setbuffering ($mode) {}
47
48 /**
49 * Returns current state of buffering for the large object
50 * @link http://www.php.net/manual/en/oci-lob.getbuffering.php
51 */
52 public function getbuffering () {}
53
54 /**
55 * Moves the internal pointer to the beginning of the large object
56 * @link http://www.php.net/manual/en/oci-lob.rewind.php
57 */
58 public function rewind () {}
59
60 /**
61 * Reads part of the large object
62 * @link http://www.php.net/manual/en/oci-lob.read.php
63 * @param length
64 */
65 public function read ($length) {}
66
67 /**
68 * Tests for end-of-file on a large object's descriptor
69 * @link http://www.php.net/manual/en/oci-lob.eof.php
70 */
71 public function eof () {}
72
73 /**
74 * Sets the internal pointer of the large object
75 * @link http://www.php.net/manual/en/oci-lob.seek.php
76 * @param offset
77 * @param whence[optional]
78 */
79 public function seek ($offset, $whence) {}
80
81 /**
82 * Writes data to the large object
83 * @link http://www.php.net/manual/en/oci-lob.write.php
84 * @param string
85 * @param length[optional]
86 */
87 public function write ($string, $length) {}
88
89 /**
90 * Appends data from the large object to another large object
91 * @link http://www.php.net/manual/en/oci-lob.append.php
92 * @param lob_descriptor_from
93 */
94 public function append ($lob_descriptor_from) {}
95
96 /**
97 * Returns size of large object
98 * @link http://www.php.net/manual/en/oci-lob.size.php
99 */
100 public function size () {}
101
102 /**
103 * &Alias; <function>OCI-Lob::export</function>
104 * @link http://www.php.net/manual/en/oci-lob.writetofile.php
105 * @param filename
106 * @param start[optional]
107 * @param length[optional]
108 */
109 public function writetofile ($filename, $start, $length) {}
110
111 /**
112 * Exports LOB's contents to a file
113 * @link http://www.php.net/manual/en/oci-lob.export.php
114 * @param filename
115 * @param start[optional]
116 * @param length[optional]
117 */
118 public function export ($filename, $start, $length) {}
119
120 /**
121 * Imports file data to the LOB
122 * @link http://www.php.net/manual/en/oci-lob.import.php
123 * @param filename
124 */
125 public function import ($filename) {}
126
127 /**
128 * Writes a temporary large object
129 * @link http://www.php.net/manual/en/oci-lob.writetemporary.php
130 * @param data
131 * @param type[optional]
132 */
133 public function writetemporary ($data, $type) {}
134
135 /**
136 * Closes LOB descriptor
137 * @link http://www.php.net/manual/en/oci-lob.close.php
138 */
139 public function close () {}
140
141 /**
142 * Saves data to the large object
143 * @link http://www.php.net/manual/en/oci-lob.save.php
144 * @param data
145 * @param offset[optional]
146 */
147 public function save ($data, $offset) {}
148
149 /**
150 * &Alias; <function>OCI-Lob::import</function>
151 * @link http://www.php.net/manual/en/oci-lob.savefile.php
152 * @param filename
153 */
154 public function savefile ($filename) {}
155
156 /**
157 * Frees resources associated with the LOB descriptor
158 * @link http://www.php.net/manual/en/oci-lob.free.php
159 */
160 public function free () {}
161
162 }
163
164 class OCI_Collection {
165
166 /**
167 * Appends element to the collection
168 * @link http://www.php.net/manual/en/oci-collection.append.php
169 * @param value
170 */
171 public function append ($value) {}
172
173 /**
174 * Returns value of the element
175 * @link http://www.php.net/manual/en/oci-collection.getelem.php
176 * @param index
177 */
178 public function getelem ($index) {}
179
180 /**
181 * Assigns a value to the element of the collection
182 * @link http://www.php.net/manual/en/oci-collection.assignelem.php
183 * @param index
184 * @param value
185 */
186 public function assignelem ($index, $value) {}
187
188 /**
189 * Assigns a value to the collection from another existing collection
190 * @link http://www.php.net/manual/en/oci-collection.assign.php
191 * @param collection_from
192 */
193 public function assign ($collection_from) {}
194
195 /**
196 * Returns size of the collection
197 * @link http://www.php.net/manual/en/oci-collection.size.php
198 */
199 public function size () {}
200
201 /**
202 * Returns the maximum number of elements in the collection
203 * @link http://www.php.net/manual/en/oci-collection.max.php
204 */
205 public function max () {}
206
207 /**
208 * Trims elements from the end of the collection
209 * @link http://www.php.net/manual/en/oci-collection.trim.php
210 * @param number
211 */
212 public function trim ($number) {}
213
214 /**
215 * Frees the resources associated with the collection object
216 * @link http://www.php.net/manual/en/oci-collection.free.php
217 */
218 public function free () {}
219
220 }
221
222 /**
223 * Associates a PHP variable with a column for query fetches
224 * @link http://www.php.net/manual/en/function.oci-define-by-name.php
225 * @param statement resource &oci.arg.statement.id;
226 * @param column_name string <p>
227 * The column name used in the query.
228 * </p>
229 * <p>
230 * Use uppercase for Oracle's default, non-case sensitive column
231 * names. Use the exact column name case for case-sensitive
232 * column names.
233 * </p>
234 * @param variable mixed <p>
235 * The PHP variable that will contain the returned column value.
236 * </p>
237 * @param type int[optional] <p>
238 * The data type to be returned. Generally not needed. Note that
239 * Oracle-style data conversions are not performed. For example,
240 * SQLT_INT will be ignored and the returned
241 * data type will still be SQLT_CHR.
242 * </p>
243 * <p>
244 * You can optionally use oci_new_descriptor
245 * to allocate LOB/ROWID/BFILE descriptors.
246 * </p>
247 * @return bool Returns true on success, false on failure.
248 */
249 function oci_define_by_name ($statement, $column_name, &$variable, $type = null) {}
250
251 /**
252 * Binds a PHP variable to an Oracle placeholder
253 * @link http://www.php.net/manual/en/function.oci-bind-by-name.php
254 * @param statement resource <p>
255 * A valid OCI8 statement identifer.
256 * </p>
257 * @param bv_name string <p>
258 * The colon-prefixed bind variable placeholder used in the
259 * statement. The colon is optional
260 * in bv_name. Oracle does not use question
261 * marks for placeholders.
262 * </p>
263 * @param variable mixed <p>
264 * The PHP variable to be associated with bv_name
265 * </p>
266 * @param maxlength int[optional] <p>
267 * Sets the maximum length for the data. If you set it to -1, this
268 * function will use the current length
269 * of variable to set the maximum
270 * length. In this case the variable must
271 * exist and contain data
272 * when oci_bind_by_name is called.
273 * </p>
274 * @param type int[optional] <p>
275 * The datatype that Oracle will treat the data as. The
276 * default type used
277 * is SQLT_CHR. Oracle will convert the data
278 * between this type and the database column (or PL/SQL variable
279 * type), when possible.
280 * </p>
281 * <p>
282 * If you need to bind an abstract datatype (LOB/ROWID/BFILE) you
283 * need to allocate it first using the
284 * oci_new_descriptor function. The
285 * length is not used for abstract datatypes
286 * and should be set to -1.
287 * </p>
288 * <p>
289 * Possible values for type are:
290 *
291 *
292 * <p>
293 * SQLT_BFILEE or OCI_B_BFILE
294 * - for BFILEs;
295 * </p>
296 * @return bool Returns true on success, false on failure.
297 */
298 function oci_bind_by_name ($statement, $bv_name, &$variable, $maxlength = null, $type = null) {}
299
300 /**
301 * Binds a PHP array to an Oracle PL/SQL array parameter
302 * @link http://www.php.net/manual/en/function.oci-bind-array-by-name.php
303 * @param statement resource <p>
304 * A valid OCI statement identifier.
305 * </p>
306 * @param name string <p>
307 * The Oracle placeholder.
308 * </p>
309 * @param var_array array <p>
310 * An array.
311 * </p>
312 * @param max_table_length int <p>
313 * Sets the maximum length both for incoming and result arrays.
314 * </p>
315 * @param max_item_length int[optional] <p>
316 * Sets maximum length for array items. If not specified or equals to -1,
317 * oci_bind_array_by_name will find the longest
318 * element in the incoming array and will use it as the maximum length.
319 * </p>
320 * @param type int[optional] <p>
321 * Should be used to set the type of PL/SQL array items. See list of
322 * available types below:
323 * </p>
324 * <p>
325 *
326 *
327 * <p>
328 * SQLT_NUM - for arrays of NUMBER.
329 * </p>
330 * @return bool Returns true on success, false on failure.
331 */
332 function oci_bind_array_by_name ($statement, $name, array &$var_array, $max_table_length, $max_item_length = null, $type = null) {}
333
334 /**
335 * Checks if a field in the currently fetched row is &null;
336 * @link http://www.php.net/manual/en/function.oci-field-is-null.php
337 * @param statement resource <p>
338 * A valid OCI statement identifier.
339 * </p>
340 * @param field mixed <p>
341 * Can be the field's index (1-based) or name.
342 * </p>
343 * @return bool true if field is &null;, false otherwise.
344 */
345 function oci_field_is_null ($statement, $field) {}
346
347 /**
348 * Returns the name of a field from the statement
349 * @link http://www.php.net/manual/en/function.oci-field-name.php
350 * @param statement resource <p>
351 * A valid OCI statement identifier.
352 * </p>
353 * @param field mixed <p>
354 * Can be the field's index (1-based) or name.
355 * </p>
356 * @return string the name as a string, or false on errors.
357 */
358 function oci_field_name ($statement, $field) {}
359
360 /**
361 * Returns field's size
362 * @link http://www.php.net/manual/en/function.oci-field-size.php
363 * @param statement resource <p>
364 * A valid OCI statement identifier.
365 * </p>
366 * @param field mixed <p>
367 * Can be the field's index (1-based) or name.
368 * </p>
369 * @return int the size of a field in bytes, or false on
370 * errors.
371 */
372 function oci_field_size ($statement, $field) {}
373
374 /**
375 * Tell the scale of the field
376 * @link http://www.php.net/manual/en/function.oci-field-scale.php
377 * @param statement resource <p>
378 * A valid OCI statement identifier.
379 * </p>
380 * @param field mixed <p>
381 * Can be the field's index (1-based) or name.
382 * </p>
383 * @return int the scale as an integer, or false on errors.
384 */
385 function oci_field_scale ($statement, $field) {}
386
387 /**
388 * Tell the precision of a field
389 * @link http://www.php.net/manual/en/function.oci-field-precision.php
390 * @param statement resource <p>
391 * A valid OCI statement identifier.
392 * </p>
393 * @param field mixed <p>
394 * Can be the field's index (1-based) or name.
395 * </p>
396 * @return int the precision as an integer, or false on errors.
397 */
398 function oci_field_precision ($statement, $field) {}
399
400 /**
401 * Returns a field's data type name
402 * @link http://www.php.net/manual/en/function.oci-field-type.php
403 * @param statement resource <p>
404 * A valid OCI statement identifier.
405 * </p>
406 * @param field mixed <p>
407 * Can be the field's index (1-based) or name.
408 * </p>
409 * @return mixed the field data type as a string, or false on errors.
410 */
411 function oci_field_type ($statement, $field) {}
412
413 /**
414 * Tell the raw Oracle data type of the field
415 * @link http://www.php.net/manual/en/function.oci-field-type-raw.php
416 * @param statement resource <p>
417 * A valid OCI statement identifier.
418 * </p>
419 * @param field mixed <p>
420 * Can be the field's index (1-based) or name.
421 * </p>
422 * @return int Oracle's raw data type as a number, or false on errors.
423 */
424 function oci_field_type_raw ($statement, $field) {}
425
426 /**
427 * Executes a statement
428 * @link http://www.php.net/manual/en/function.oci-execute.php
429 * @param statement resource <p>
430 * A valid OCI statement identifier.
431 * </p>
432 * @param mode int[optional] <p>
433 * An optional second parameter can be one of the following constants:
434 * <table>
435 * Execution Modes
436 *
437 *
438 * <tr valign="top">
439 * <td>Constant</td>
440 * <td>Description</td>
441 * </tr>
442 *
443 *
444 * <tr valign="top">
445 * <td>OCI_COMMIT_ON_SUCCESS</td>
446 * <td>Automatically commit all outstanding changes for
447 * this connection when the statement has succeeded. This
448 * is the default.</td>
449 * </tr>
450 * <tr valign="top">
451 * <td>OCI_DESCRIBE_ONLY</td>
452 * <td>Make query meta data available to functions
453 * like oci_field_name but do not
454 * create a result set. Any subsequent fetch call such
455 * as oci_fetch_array will
456 * fail.</td>
457 * </tr>
458 * <tr valign="top">
459 * <td>OCI_NO_AUTO_COMMIT</td>
460 * <td>Do not automatically commit changes. Prior to PHP
461 * 5.3.2 (PECL OCI8 1.4)
462 * use OCI_DEFAULT which is equivalent
463 * to OCI_NO_AUTO_COMMIT.</td>
464 * </tr>
465 *
466 *
467 * </table>
468 * </p>
469 * <p>
470 * Using OCI_NO_AUTO_COMMIT mode starts or continues a
471 * transaction. Transactions are automatically rolled back when
472 * the connection is closed, or when the script ends. Explicitly
473 * call oci_commit to commit a transaction,
474 * or oci_rollback to abort it.
475 * </p>
476 * <p>
477 * When inserting or updating data, using transactions is
478 * recommended for relational data consistency and for performance
479 * reasons.
480 * </p>
481 * <p>
482 * If OCI_NO_AUTO_COMMIT mode is used for any
483 * statement including queries, and
484 * oci_commit
485 * or oci_rollback is not subsequently
486 * called, then OCI8 will perform a rollback at the end of the
487 * script even if no data was changed. To avoid an unnecessary
488 * rollback, many scripts do not
489 * use OCI_NO_AUTO_COMMIT mode for queries or
490 * PL/SQL. Be careful to ensure the appropriate transactional
491 * consistency for the application when
492 * using oci_execute with different modes in
493 * the same script.
494 * </p>
495 * @return bool Returns true on success, false on failure.
496 */
497 function oci_execute ($statement, $mode = null) {}
498
499 /**
500 * Cancels reading from cursor
501 * @link http://www.php.net/manual/en/function.oci-cancel.php
502 * @param statement resource <p>
503 * An OCI statement.
504 * </p>
505 * @return bool Returns true on success, false on failure.
506 */
507 function oci_cancel ($statement) {}
508
509 /**
510 * Fetches the next row from a query into internal buffers
511 * @link http://www.php.net/manual/en/function.oci-fetch.php
512 * @param statement resource &oci.arg.statement.id;
513 * @return bool true on success or false if there are no more rows in the
514 * statement.
515 */
516 function oci_fetch ($statement) {}
517
518 /**
519 * Returns the next row from a query as an object
520 * @link http://www.php.net/manual/en/function.oci-fetch-object.php
521 * @param statement resource &oci.arg.statement.id;
522 * @return object an object. Each attribute of the object corresponds to a
523 * column of the row. If there are no more rows in
524 * the statement then false is returned.
525 * </p>
526 * <p>
527 * Any LOB columns are returned as LOB descriptors.
528 * </p>
529 * <p>
530 * DATE columns are returned as strings formatted
531 * to the current date format. The default format can be changed with
532 * Oracle environment variables such as NLS_LANG or
533 * by a previously executed ALTER SESSION SET
534 * NLS_DATE_FORMAT command.
535 * </p>
536 * <p>
537 * Oracle's default, non-case sensitive column names will have
538 * uppercase attribute names. Case-sensitive column names will have
539 * attribute names using the exact column case.
540 * Use var_dump on the result object to verify
541 * the appropriate case for attribute access.
542 * </p>
543 * <p>
544 * Attribute values will be &null; for any NULL
545 * data fields.
546 */
547 function oci_fetch_object ($statement) {}
548
549 /**
550 * Returns the next row from a query as a numeric array
551 * @link http://www.php.net/manual/en/function.oci-fetch-row.php
552 * @param statement resource &oci.arg.statement.id;
553 * @return array a numerically indexed array. If there are no more rows in
554 * the statement then false is returned.
555 */
556 function oci_fetch_row ($statement) {}
557
558 /**
559 * Returns the next row from a query as an associative array
560 * @link http://www.php.net/manual/en/function.oci-fetch-assoc.php
561 * @param statement resource &oci.arg.statement.id;
562 * @return array an associative array. If there are no more rows in
563 * the statement then false is returned.
564 */
565 function oci_fetch_assoc ($statement) {}
566
567 /**
568 * Returns the next row from a query as an associative or numeric array
569 * @link http://www.php.net/manual/en/function.oci-fetch-array.php
570 * @param statement resource &oci.arg.statement.id;
571 * <p>
572 * Can also be a statement identifier returned by oci_get_implicit_resultset.
573 * </p>
574 * @param mode int[optional] <p>
575 * An optional second parameter can be any combination of the following
576 * constants:
577 * <table>
578 * oci_fetch_array Modes
579 *
580 *
581 * <tr valign="top">
582 * <td>Constant</td>
583 * <td>Description</td>
584 * </tr>
585 *
586 *
587 * <tr valign="top">
588 * <td>OCI_BOTH</td>
589 * <td>Returns an array with both associative and numeric
590 * indices. This is the same
591 * as OCI_ASSOC
592 * + OCI_NUM and is the default
593 * behavior.</td>
594 * </tr>
595 * <tr valign="top">
596 * <td>OCI_ASSOC</td>
597 * <td>Returns an associative array.</td>
598 * </tr>
599 * <tr valign="top">
600 * <td>OCI_NUM</td>
601 * <td>Returns a numeric array.</td>
602 * </tr>
603 * <tr valign="top">
604 * <td>OCI_RETURN_NULLS</td>
605 * <td>Creates elements for &null; fields. The element
606 * values will be a PHP &null;.
607 * </td>
608 * </tr>
609 * <tr valign="top">
610 * <td>OCI_RETURN_LOBS</td>
611 * <td>Returns the contents of LOBs instead of the LOB
612 * descriptors.</td>
613 * </tr>
614 *
615 *
616 * </table>
617 * </p>
618 * <p>
619 * The default mode is OCI_BOTH.
620 * </p>
621 * <p>
622 * Use the addition operator &quot;+&quot; to specify more than
623 * one mode at a time.
624 * </p>
625 * @return array an array with associative and/or numeric indices. If there
626 * are no more rows in the statement then
627 * false is returned.
628 * </p>
629 * <p>
630 * By default, LOB columns are returned as LOB descriptors.
631 * </p>
632 * <p>
633 * DATE columns are returned as strings formatted
634 * to the current date format. The default format can be changed with
635 * Oracle environment variables such as NLS_LANG or
636 * by a previously executed ALTER SESSION SET
637 * NLS_DATE_FORMAT command.
638 * </p>
639 * <p>
640 * Oracle's default, non-case sensitive column names will have
641 * uppercase associative indices in the result array. Case-sensitive
642 * column names will have array indices using the exact column case.
643 * Use var_dump on the result array to verify the
644 * appropriate case to use for each query.
645 * </p>
646 * <p>
647 * The table name is not included in the array index. If your query
648 * contains two different columns with the same name,
649 * use OCI_NUM or add a column alias to the query
650 * to ensure name uniqueness, see example #7. Otherwise only one
651 * column will be returned via PHP.
652 */
653 function oci_fetch_array ($statement, $mode = null) {}
654
655 /**
656 * Obsolete variant of <function>oci_fetch_array</function>, <function>oci_fetch_object</function>,
657 <function>oci_fetch_assoc</function> and
658 <function>oci_fetch_row</function>
659 * @link http://www.php.net/manual/en/function.ocifetchinto.php
660 * @param statement_resource
661 * @param result
662 * @param mode[optional]
663 */
664 function ocifetchinto ($statement_resource, &$result, $mode) {}
665
666 /**
667 * Fetches multiple rows from a query into a two-dimensional array
668 * @link http://www.php.net/manual/en/function.oci-fetch-all.php
669 * @param statement resource &oci.arg.statement.id;
670 * @param output array <p>
671 * The variable to contain the returned rows.
672 * </p>
673 * <p>
674 * LOB columns are returned as strings, where Oracle supports
675 * conversion.
676 * </p>
677 * <p>
678 * See oci_fetch_array for more information
679 * on how data and types are fetched.
680 * </p>
681 * @param skip int[optional] <p>
682 * The number of initial rows to discard when fetching the
683 * result. The default value is 0, so the first row onwards is
684 * returned.
685 * </p>
686 * @param maxrows int[optional] <p>
687 * The number of rows to return. The default is -1 meaning return
688 * all the rows from skip + 1 onwards.
689 * </p>
690 * @param flags int[optional] <p>
691 * Parameter flags indicates the array
692 * structure and whether associative arrays should be used.
693 * <table>
694 * oci_fetch_all Array Structure Modes
695 *
696 *
697 * <tr valign="top">
698 * <td>Constant</td>
699 * <td>Description</td>
700 * </tr>
701 *
702 *
703 * <tr valign="top">
704 * <td>OCI_FETCHSTATEMENT_BY_ROW</td>
705 * <td>The outer array will contain one sub-array per query
706 * row.</td>
707 * </tr>
708 * <tr valign="top">
709 * <td>OCI_FETCHSTATEMENT_BY_COLUMN</td>
710 * <td>The outer array will contain one sub-array per query
711 * column. This is the default.</td>
712 * </tr>
713 *
714 *
715 * </table>
716 * </p>
717 * <p>
718 * Arrays can be indexed either by column heading or numerically.
719 * Only one index mode will be returned.
720 * <table>
721 * oci_fetch_all Array Index Modes
722 *
723 *
724 * <tr valign="top">
725 * <td>Constant</td>
726 * <td>Description</td>
727 * </tr>
728 *
729 *
730 * <tr valign="top">
731 * <td>OCI_NUM</td>
732 * <td>Numeric indexes are used for each column's array.</td>
733 * </tr>
734 * <tr valign="top">
735 * <td>OCI_ASSOC</td>
736 * <td>Associative indexes are used for each column's
737 * array. This is the default.</td>
738 * </tr>
739 *
740 *
741 * </table>
742 * </p>
743 * <p>
744 * Use the addition operator &quot;+&quot; to choose a combination
745 * of array structure and index modes.
746 * </p>
747 * <p>
748 * Oracle's default, non-case sensitive column names will have
749 * uppercase array keys. Case-sensitive column names will have
750 * array keys using the exact column case.
751 * Use var_dump
752 * on output to verify the appropriate case
753 * to use for each query.
754 * </p>
755 * <p>
756 * Queries that have more than one column with the same name
757 * should use column aliases. Otherwise only one of the columns
758 * will appear in an associative array.
759 * </p>
760 * @return int the number of rows in output, which
761 * may be 0 or more, &return.falseforfailure;.
762 */
763 function oci_fetch_all ($statement, array &$output, $skip = null, $maxrows = null, $flags = null) {}
764
765 /**
766 * Frees all resources associated with statement or cursor
767 * @link http://www.php.net/manual/en/function.oci-free-statement.php
768 * @param statement resource <p>
769 * A valid OCI statement identifier.
770 * </p>
771 * @return bool Returns true on success, false on failure.
772 */
773 function oci_free_statement ($statement) {}
774
775 /**
776 * Enables or disables internal debug output
777 * @link http://www.php.net/manual/en/function.oci-internal-debug.php
778 * @param onoff bool <p>
779 * Set this to false to turn debug output off or true to turn it on.
780 * </p>
781 * @return void
782 */
783 function oci_internal_debug ($onoff) {}
784
785 /**
786 * Returns the number of result columns in a statement
787 * @link http://www.php.net/manual/en/function.oci-num-fields.php
788 * @param statement resource <p>
789 * A valid OCI statement identifier.
790 * </p>
791 * @return int the number of columns as an integer, or false on errors.
792 */
793 function oci_num_fields ($statement) {}
794
795 /**
796 * Prepares an Oracle statement for execution
797 * @link http://www.php.net/manual/en/function.oci-parse.php
798 * @param connection resource <p>
799 * An Oracle connection identifier, returned by
800 * oci_connect, oci_pconnect, or oci_new_connect.
801 * </p>
802 * @param sql_text string <p>
803 * The SQL or PL/SQL statement.
804 * </p>
805 * <p>
806 * SQL statements should not end with a
807 * semi-colon (&quot;;&quot;). PL/SQL
808 * statements should end with a semi-colon
809 * (&quot;;&quot;).
810 * </p>
811 * @return resource a statement handle on success, or false on error.
812 */
813 function oci_parse ($connection, $sql_text) {}
814
815 /**
816 * Returns the next child statement resource from a parent statement resource that has Oracle Database 12c Implicit Result Sets
817 * @link http://www.php.net/manual/en/function.oci-get-implicit-resultset.php
818 * @param statement resource <p>A valid OCI8 statement identifier created
819 * by oci_parse and executed
820 * by oci_execute. The statement
821 * identifier may or may not be associated with a SQL statement
822 * that returns Implicit Result Sets.
823 * </p>
824 * @return resource a statement handle for the next child statement available
825 * on statement. Returns false when child
826 * statements do not exist, or all child statements have been returned
827 * by previous calls
828 * to oci_get_implicit_resultset.
829 */
830 function oci_get_implicit_resultset ($statement) {}
831
832 /**
833 * Allocates and returns a new cursor (statement handle)
834 * @link http://www.php.net/manual/en/function.oci-new-cursor.php
835 * @param connection resource <p>
836 * An Oracle connection identifier, returned by
837 * oci_connect or oci_pconnect.
838 * </p>
839 * @return resource a new statement handle, or false on error.
840 */
841 function oci_new_cursor ($connection) {}
842
843 /**
844 * Returns field's value from the fetched row
845 * @link http://www.php.net/manual/en/function.oci-result.php
846 * @param statement resource <p>
847 * </p>
848 * @param field mixed <p>
849 * Can be either use the column number (1-based) or the column name.
850 * The case of the column name must be the case that Oracle meta data
851 * describes the column as, which is uppercase for columns created
852 * case insensitively.
853 * </p>
854 * @return mixed everything as strings except for abstract types (ROWIDs, LOBs and
855 * FILEs). Returns false on error.
856 */
857 function oci_result ($statement, $field) {}
858
859 /**
860 * Returns the Oracle client library version
861 * @link http://www.php.net/manual/en/function.oci-client-version.php
862 * @return string the version number as a string.
863 */
864 function oci_client_version () {}
865
866 /**
867 * Returns the Oracle Database version
868 * @link http://www.php.net/manual/en/function.oci-server-version.php
869 * @param connection resource <p>
870 * </p>
871 * @return string the version information as a string or false on error.
872 */
873 function oci_server_version ($connection) {}
874
875 /**
876 * Returns the type of a statement
877 * @link http://www.php.net/manual/en/function.oci-statement-type.php
878 * @param statement resource <p>
879 * A valid OCI8 statement identifier from oci_parse.
880 * </p>
881 * @return string the type of statement as one of the
882 * following strings.
883 * <table>
884 * Statement type
885 *
886 *
887 * <tr valign="top">
888 * <td>Return String</td>
889 * <td>Notes</td>
890 * </tr>
891 *
892 *
893 * <tr valign="top">
894 * <td>ALTER</td>
895 * <td></td>
896 * </tr>
897 * <tr valign="top">
898 * <td>BEGIN</td>
899 * <td></td>
900 * </tr>
901 * <tr valign="top">
902 * <td>CALL</td>
903 * <td>Introduced in PHP 5.2.1 (PECL OCI8 1.2.3)</td>
904 * </tr>
905 * <tr valign="top">
906 * <td>CREATE</td>
907 * <td></td>
908 * </tr>
909 * <tr valign="top">
910 * <td>DECLARE</td>
911 * <td></td>
912 * </tr>
913 * <tr valign="top">
914 * <td>DELETE</td>
915 * <td></td>
916 * </tr>
917 * <tr valign="top">
918 * <td>DROP</td>
919 * <td></td>
920 * </tr>
921 * <tr valign="top">
922 * <td>INSERT</td>
923 * <td></td>
924 * </tr>
925 * <tr valign="top">
926 * <td>SELECT</td>
927 * <td></td>
928 * </tr>
929 * <tr valign="top">
930 * <td>UPDATE</td>
931 * <td></td>
932 * </tr>
933 * <tr valign="top">
934 * <td>UNKNOWN</td>
935 * <td></td>
936 * </tr>
937 *
938 *
939 * </table>
940 * </p>
941 * <p>
942 * Returns false on error.
943 */
944 function oci_statement_type ($statement) {}
945
946 /**
947 * Returns number of rows affected during statement execution
948 * @link http://www.php.net/manual/en/function.oci-num-rows.php
949 * @param statement resource <p>
950 * A valid OCI statement identifier.
951 * </p>
952 * @return int the number of rows affected as an integer, or false on errors.
953 */
954 function oci_num_rows ($statement) {}
955
956 /**
957 * Closes an Oracle connection
958 * @link http://www.php.net/manual/en/function.oci-close.php
959 * @param connection resource <p>
960 * An Oracle connection identifier returned by
961 * oci_connect, oci_pconnect,
962 * or oci_new_connect.
963 * </p>
964 * @return bool Returns true on success, false on failure.
965 */
966 function oci_close ($connection) {}
967
968 /**
969 * Connect to an Oracle database
970 * @link http://www.php.net/manual/en/function.oci-connect.php
971 * @param username string <p>
972 * The Oracle user name.
973 * </p>
974 * @param password string <p>
975 * The password for username.
976 * </p>
977 * @param connection_string string[optional] &oci.db;
978 * @param character_set string[optional] &oci.charset;
979 * @param session_mode int[optional] &oci.sessionmode;
980 * @return resource a connection identifier or false on error.
981 */
982 function oci_connect ($username, $password, $connection_string = null, $character_set = null, $session_mode = null) {}
983
984 /**
985 * Connect to the Oracle server using a unique connection
986 * @link http://www.php.net/manual/en/function.oci-new-connect.php
987 * @param username string <p>
988 * The Oracle user name.
989 * </p>
990 * @param password string <p>
991 * The password for username.
992 * </p>
993 * @param connection_string string[optional] &oci.db;
994 * @param character_set string[optional] &oci.charset;
995 * @param session_mode int[optional] &oci.sessionmode;
996 * @return resource a connection identifier or false on error.
997 */
998 function oci_new_connect ($username, $password, $connection_string = null, $character_set = null, $session_mode = null) {}
999
1000 /**
1001 * Connect to an Oracle database using a persistent connection
1002 * @link http://www.php.net/manual/en/function.oci-pconnect.php
1003 * @param username string <p>
1004 * The Oracle user name.
1005 * </p>
1006 * @param password string <p>
1007 * The password for username.
1008 * </p>
1009 * @param connection_string string[optional] &oci.db;
1010 * @param character_set string[optional] &oci.charset;
1011 * @param session_mode int[optional] &oci.sessionmode;
1012 * @return resource a connection identifier or false on error.
1013 */
1014 function oci_pconnect ($username, $password, $connection_string = null, $character_set = null, $session_mode = null) {}
1015
1016 /**
1017 * Returns the last error found
1018 * @link http://www.php.net/manual/en/function.oci-error.php
1019 * @param resource resource[optional] <p>
1020 * For most errors, resource is the
1021 * resource handle that was passed to the failing function call.
1022 * For connection errors with oci_connect,
1023 * oci_new_connect or
1024 * oci_pconnect do not pass resource.
1025 * </p>
1026 * @return array If no error is found, oci_error returns
1027 * false. Otherwise, oci_error returns the
1028 * error information as an associative array.
1029 * </p>
1030 * <p>
1031 * <table>
1032 * oci_error Array Description
1033 *
1034 *
1035 * <tr valign="top">
1036 * <td>Array key</td>
1037 * <td>Type</td>
1038 * <td>&Description;</td>
1039 * </tr>
1040 *
1041 *
1042 * <tr valign="top">
1043 * <td>code</td>
1044 * <td>integer</td>
1045 * <td>
1046 * The Oracle error number.
1047 * </td>
1048 * </tr>
1049 * <tr valign="top">
1050 * <td>message</td>
1051 * <td>string</td>
1052 * <td>
1053 * The Oracle error text.
1054 * </td>
1055 * </tr>
1056 * <tr valign="top">
1057 * <td>offset</td>
1058 * <td>integer</td>
1059 * <td>
1060 * The byte position of an error in the SQL statement. If there
1061 * was no statement, this is 0
1062 * </td>
1063 * </tr>
1064 * <tr valign="top">
1065 * <td>sqltext</td>
1066 * <td>string</td>
1067 * <td>
1068 * The SQL statement text. If there was no statement, this is
1069 * an empty string.
1070 * </td>
1071 * </tr>
1072 *
1073 *
1074 * </table>
1075 */
1076 function oci_error ($resource = null) {}
1077
1078 /**
1079 * Frees a descriptor
1080 * @link http://www.php.net/manual/en/function.oci-free-descriptor.php
1081 * @param descriptor resource
1082 * @return bool Returns true on success, false on failure.
1083 */
1084 function oci_free_descriptor ($descriptor) {}
1085
1086 /**
1087 * @param lob_descriptor
1088 * @param data
1089 * @param offset[optional]
1090 */
1091 function oci_lob_save ($lob_descriptor, $data, $offset) {}
1092
1093 /**
1094 * @param lob_descriptor
1095 * @param filename
1096 */
1097 function oci_lob_import ($lob_descriptor, $filename) {}
1098
1099 /**
1100 * @param lob_descriptor
1101 */
1102 function oci_lob_size ($lob_descriptor) {}
1103
1104 /**
1105 * @param lob_descriptor
1106 */
1107 function oci_lob_load ($lob_descriptor) {}
1108
1109 /**
1110 * @param lob_descriptor
1111 * @param length
1112 */
1113 function oci_lob_read ($lob_descriptor, $length) {}
1114
1115 /**
1116 * @param lob_descriptor
1117 */
1118 function oci_lob_eof ($lob_descriptor) {}
1119
1120 /**
1121 * @param lob_descriptor
1122 */
1123 function oci_lob_tell ($lob_descriptor) {}
1124
1125 /**
1126 * @param lob_descriptor
1127 * @param length[optional]
1128 */
1129 function oci_lob_truncate ($lob_descriptor, $length) {}
1130
1131 /**
1132 * @param lob_descriptor
1133 * @param offset[optional]
1134 * @param length[optional]
1135 */
1136 function oci_lob_erase ($lob_descriptor, $offset, $length) {}
1137
1138 /**
1139 * @param lob_descriptor
1140 * @param flag[optional]
1141 */
1142 function oci_lob_flush ($lob_descriptor, $flag) {}
1143
1144 /**
1145 * @param lob_descriptor
1146 * @param mode
1147 */
1148 function ocisetbufferinglob ($lob_descriptor, $mode) {}
1149
1150 /**
1151 * @param lob_descriptor
1152 */
1153 function ocigetbufferinglob ($lob_descriptor) {}
1154
1155 /**
1156 * Compares two LOB/FILE locators for equality
1157 * @link http://www.php.net/manual/en/function.oci-lob-is-equal.php
1158 * @param lob1 OCI-Lob <p>
1159 * A LOB identifier.
1160 * </p>
1161 * @param lob2 OCI-Lob <p>
1162 * A LOB identifier.
1163 * </p>
1164 * @return bool true if these objects are equal, false otherwise.
1165 */
1166 function oci_lob_is_equal (OCI-Lob $lob1, OCI-Lob $lob2) {}
1167
1168 /**
1169 * @param lob_descriptor
1170 */
1171 function oci_lob_rewind ($lob_descriptor) {}
1172
1173 /**
1174 * @param lob_descriptor
1175 * @param string
1176 * @param length[optional]
1177 */
1178 function oci_lob_write ($lob_descriptor, $string, $length) {}
1179
1180 /**
1181 * @param lob_descriptor_to
1182 * @param lob_descriptor_from
1183 */
1184 function oci_lob_append ($lob_descriptor_to, $lob_descriptor_from) {}
1185
1186 /**
1187 * Copies large object
1188 * @link http://www.php.net/manual/en/function.oci-lob-copy.php
1189 * @param lob_to OCI-Lob <p>
1190 * The destination LOB.
1191 * </p>
1192 * @param lob_from OCI-Lob <p>
1193 * The copied LOB.
1194 * </p>
1195 * @param length int[optional] <p>
1196 * Indicates the length of data to be copied.
1197 * </p>
1198 * @return bool Returns true on success, false on failure.
1199 */
1200 function oci_lob_copy (OCI-Lob $lob_to, OCI-Lob $lob_from, $length = null) {}
1201
1202 /**
1203 * @param lob_descriptor
1204 * @param filename
1205 * @param start[optional]
1206 * @param length[optional]
1207 */
1208 function oci_lob_export ($lob_descriptor, $filename, $start, $length) {}
1209
1210 /**
1211 * @param lob_descriptor
1212 * @param offset
1213 * @param whence[optional]
1214 */
1215 function oci_lob_seek ($lob_descriptor, $offset, $whence) {}
1216
1217 /**
1218 * Commits the outstanding database transaction
1219 * @link http://www.php.net/manual/en/function.oci-commit.php
1220 * @param connection resource <p>
1221 * An Oracle connection identifier, returned by
1222 * oci_connect, oci_pconnect, or oci_new_connect.
1223 * </p>
1224 * @return bool Returns true on success, false on failure.
1225 */
1226 function oci_commit ($connection) {}
1227
1228 /**
1229 * Rolls back the outstanding database transaction
1230 * @link http://www.php.net/manual/en/function.oci-rollback.php
1231 * @param connection resource <p>
1232 * An Oracle connection identifier, returned by
1233 * oci_connect, oci_pconnect
1234 * or oci_new_connect.
1235 * </p>
1236 * @return bool Returns true on success, false on failure.
1237 */
1238 function oci_rollback ($connection) {}
1239
1240 /**
1241 * Initializes a new empty LOB or FILE descriptor
1242 * @link http://www.php.net/manual/en/function.oci-new-descriptor.php
1243 * @param connection resource <p>
1244 * An Oracle connection identifier, returned by
1245 * oci_connect or oci_pconnect.
1246 * </p>
1247 * @param type int[optional] <p>
1248 * Valid values for type are:
1249 * OCI_DTYPE_FILE, OCI_DTYPE_LOB and
1250 * OCI_DTYPE_ROWID.
1251 * </p>
1252 * @return OCI-Lob a new LOB or FILE descriptor on success, false on error.
1253 */
1254 function oci_new_descriptor ($connection, $type = null) {}
1255
1256 /**
1257 * Sets number of rows to be prefetched by queries
1258 * @link http://www.php.net/manual/en/function.oci-set-prefetch.php
1259 * @param statement resource &oci.arg.statement.id;
1260 * @param rows int <p>
1261 * The number of rows to be prefetched, >= 0
1262 * </p>
1263 * @return bool Returns true on success, false on failure.
1264 */
1265 function oci_set_prefetch ($statement, $rows) {}
1266
1267 /**
1268 * Sets the client identifier
1269 * @link http://www.php.net/manual/en/function.oci-set-client-identifier.php
1270 * @param connection resource &oci.parameter.connection;
1271 * @param client_identifier string <p>
1272 * User chosen string up to 64 bytes long.
1273 * </p>
1274 * @return bool Returns true on success, false on failure.
1275 */
1276 function oci_set_client_identifier ($connection, $client_identifier) {}
1277
1278 /**
1279 * Sets the database edition
1280 * @link http://www.php.net/manual/en/function.oci-set-edition.php
1281 * @param edition string <p>
1282 * Oracle Database edition name previously created with the SQL
1283 * "CREATE EDITION" command.
1284 * </p>
1285 * @return bool Returns true on success, false on failure.
1286 */
1287 function oci_set_edition ($edition) {}
1288
1289 /**
1290 * Sets the module name
1291 * @link http://www.php.net/manual/en/function.oci-set-module-name.php
1292 * @param connection resource &oci.parameter.connection;
1293 * @param module_name string <p>
1294 * User chosen string up to 48 bytes long.
1295 * </p>
1296 * @return bool Returns true on success, false on failure.
1297 */
1298 function oci_set_module_name ($connection, $module_name) {}
1299
1300 /**
1301 * Sets the action name
1302 * @link http://www.php.net/manual/en/function.oci-set-action.php
1303 * @param connection resource &oci.parameter.connection;
1304 * @param action_name string <p>
1305 * User chosen string up to 32 bytes long.
1306 * </p>
1307 * @return bool Returns true on success, false on failure.
1308 */
1309 function oci_set_action ($connection, $action_name) {}
1310
1311 /**
1312 * Sets the client information
1313 * @link http://www.php.net/manual/en/function.oci-set-client-info.php
1314 * @param connection resource &oci.parameter.connection;
1315 * @param client_info string <p>
1316 * User chosen string up to 64 bytes long.
1317 * </p>
1318 * @return bool Returns true on success, false on failure.
1319 */
1320 function oci_set_client_info ($connection, $client_info) {}
1321
1322 /**
1323 * Changes password of Oracle's user
1324 * @link http://www.php.net/manual/en/function.oci-password-change.php
1325 * @param connection resource <p>
1326 * An Oracle connection identifier, returned by
1327 * oci_connect or oci_pconnect.
1328 * </p>
1329 * @param username string <p>
1330 * The Oracle user name.
1331 * </p>
1332 * @param old_password string <p>
1333 * The old password.
1334 * </p>
1335 * @param new_password string <p>
1336 * The new password to be set.
1337 * </p>
1338 * @return bool Returns true on success, false on failure.
1339 */
1340 function oci_password_change ($connection, $username, $old_password, $new_password) {}
1341
1342 /**
1343 * @param collection
1344 */
1345 function oci_free_collection ($collection) {}
1346
1347 /**
1348 * @param collection
1349 * @param value
1350 */
1351 function oci_collection_append ($collection, $value) {}
1352
1353 /**
1354 * @param collection
1355 * @param index
1356 */
1357 function oci_collection_element_get ($collection, $index) {}
1358
1359 /**
1360 * @param collection
1361 * @param index
1362 * @param value
1363 */
1364 function oci_collection_element_assign ($collection, $index, $value) {}
1365
1366 /**
1367 * @param collection_to
1368 * @param collection_from
1369 */
1370 function oci_collection_assign ($collection_to, $collection_from) {}
1371
1372 /**
1373 * @param collection
1374 */
1375 function oci_collection_size ($collection) {}
1376
1377 /**
1378 * @param collection
1379 */
1380 function oci_collection_max ($collection) {}
1381
1382 /**
1383 * @param collection
1384 * @param number
1385 */
1386 function oci_collection_trim ($collection, $number) {}
1387
1388 /**
1389 * Allocates new collection object
1390 * @link http://www.php.net/manual/en/function.oci-new-collection.php
1391 * @param connection resource <p>
1392 * An Oracle connection identifier, returned by
1393 * oci_connect or oci_pconnect.
1394 * </p>
1395 * @param tdo string <p>
1396 * Should be a valid named type (uppercase).
1397 * </p>
1398 * @param schema string[optional] <p>
1399 * Should point to the scheme, where the named type was created. The name
1400 * of the current user is the default value.
1401 * </p>
1402 * @return OCI-Collection a new OCICollection object or false on
1403 * error.
1404 */
1405 function oci_new_collection ($connection, $tdo, $schema = null) {}
1406
1407 /**
1408 * @param statement_resource
1409 */
1410 function oci_free_cursor ($statement_resource) {}
1411
1412 /**
1413 * &Alias; <function>oci_free_statement</function>
1414 * @link http://www.php.net/manual/en/function.ocifreecursor.php
1415 * @param statement_resource
1416 */
1417 function ocifreecursor ($statement_resource) {}
1418
1419 /**
1420 * &Alias; <function>oci_bind_by_name</function>
1421 * @link http://www.php.net/manual/en/function.ocibindbyname.php
1422 * @param statement_resource
1423 * @param column_name
1424 * @param variable
1425 * @param maximum_length[optional]
1426 * @param type[optional]
1427 */
1428 function ocibindbyname ($statement_resource, $column_name, &$variable, $maximum_length, $type) {}
1429
1430 /**
1431 * &Alias; <function>oci_define_by_name</function>
1432 * @link http://www.php.net/manual/en/function.ocidefinebyname.php
1433 * @param statement_resource
1434 * @param column_name
1435 * @param variable
1436 * @param type[optional]
1437 */
1438 function ocidefinebyname ($statement_resource, $column_name, &$variable, $type) {}
1439
1440 /**
1441 * &Alias; <function>oci_field_is_null</function>
1442 * @link http://www.php.net/manual/en/function.ocicolumnisnull.php
1443 * @param statement_resource
1444 * @param column_number_or_name
1445 */
1446 function ocicolumnisnull ($statement_resource, $column_number_or_name) {}
1447
1448 /**
1449 * &Alias; <function>oci_field_name</function>
1450 * @link http://www.php.net/manual/en/function.ocicolumnname.php
1451 * @param statement_resource
1452 * @param column_number
1453 */
1454 function ocicolumnname ($statement_resource, $column_number) {}
1455
1456 /**
1457 * &Alias; <function>oci_field_size</function>
1458 * @link http://www.php.net/manual/en/function.ocicolumnsize.php
1459 * @param statement_resource
1460 * @param column_number_or_name
1461 */
1462 function ocicolumnsize ($statement_resource, $column_number_or_name) {}
1463
1464 /**
1465 * &Alias; <function>oci_field_scale</function>
1466 * @link http://www.php.net/manual/en/function.ocicolumnscale.php
1467 * @param statement_resource
1468 * @param column_number
1469 */
1470 function ocicolumnscale ($statement_resource, $column_number) {}
1471
1472 /**
1473 * &Alias; <function>oci_field_precision</function>
1474 * @link http://www.php.net/manual/en/function.ocicolumnprecision.php
1475 * @param statement_resource
1476 * @param column_number
1477 */
1478 function ocicolumnprecision ($statement_resource, $column_number) {}
1479
1480 /**
1481 * &Alias; <function>oci_field_type</function>
1482 * @link http://www.php.net/manual/en/function.ocicolumntype.php
1483 * @param statement_resource
1484 * @param column_number
1485 */
1486 function ocicolumntype ($statement_resource, $column_number) {}
1487
1488 /**
1489 * &Alias; <function>oci_field_type_raw</function>
1490 * @link http://www.php.net/manual/en/function.ocicolumntyperaw.php
1491 * @param statement_resource
1492 * @param column_number
1493 */
1494 function ocicolumntyperaw ($statement_resource, $column_number) {}
1495
1496 /**
1497 * &Alias; <function>oci_execute</function>
1498 * @link http://www.php.net/manual/en/function.ociexecute.php
1499 * @param statement_resource
1500 * @param mode[optional]
1501 */
1502 function ociexecute ($statement_resource, $mode) {}
1503
1504 /**
1505 * &Alias; <function>oci_cancel</function>
1506 * @link http://www.php.net/manual/en/function.ocicancel.php
1507 * @param statement_resource
1508 */
1509 function ocicancel ($statement_resource) {}
1510
1511 /**
1512 * &Alias; <function>oci_fetch</function>
1513 * @link http://www.php.net/manual/en/function.ocifetch.php
1514 * @param statement_resource
1515 */
1516 function ocifetch ($statement_resource) {}
1517
1518 /**
1519 * &Alias; <function>oci_fetch_all</function>
1520 * @link http://www.php.net/manual/en/function.ocifetchstatement.php
1521 * @param statement_resource
1522 * @param output
1523 * @param skip[optional]
1524 * @param maximum_rows[optional]
1525 * @param flags[optional]
1526 */
1527 function ocifetchstatement ($statement_resource, &$output, $skip, $maximum_rows, $flags) {}
1528
1529 /**
1530 * &Alias; <function>oci_free_statement</function>
1531 * @link http://www.php.net/manual/en/function.ocifreestatement.php
1532 * @param statement_resource
1533 */
1534 function ocifreestatement ($statement_resource) {}
1535
1536 /**
1537 * &Alias; <function>oci_internal_debug</function>
1538 * @link http://www.php.net/manual/en/function.ociinternaldebug.php
1539 * @param mode
1540 */
1541 function ociinternaldebug ($mode) {}
1542
1543 /**
1544 * &Alias; <function>oci_num_fields</function>
1545 * @link http://www.php.net/manual/en/function.ocinumcols.php
1546 * @param statement_resource
1547 */
1548 function ocinumcols ($statement_resource) {}
1549
1550 /**
1551 * &Alias; <function>oci_parse</function>
1552 * @link http://www.php.net/manual/en/function.ociparse.php
1553 * @param connection_resource
1554 * @param sql_text
1555 */
1556 function ociparse ($connection_resource, $sql_text) {}
1557
1558 /**
1559 * &Alias; <function>oci_new_cursor</function>
1560 * @link http://www.php.net/manual/en/function.ocinewcursor.php
1561 * @param connection_resource
1562 */
1563 function ocinewcursor ($connection_resource) {}
1564
1565 /**
1566 * &Alias; <function>oci_result</function>
1567 * @link http://www.php.net/manual/en/function.ociresult.php
1568 * @param statement_resource
1569 * @param column_number_or_name
1570 */
1571 function ociresult ($statement_resource, $column_number_or_name) {}
1572
1573 /**
1574 * &Alias; <function>oci_server_version</function>
1575 * @link http://www.php.net/manual/en/function.ociserverversion.php
1576 * @param connection_resource
1577 */
1578 function ociserverversion ($connection_resource) {}
1579
1580 /**
1581 * &Alias; <function>oci_statement_type</function>
1582 * @link http://www.php.net/manual/en/function.ocistatementtype.php
1583 * @param statement_resource
1584 */
1585 function ocistatementtype ($statement_resource) {}
1586
1587 /**
1588 * &Alias; <function>oci_num_rows</function>
1589 * @link http://www.php.net/manual/en/function.ocirowcount.php
1590 * @param statement_resource
1591 */
1592 function ocirowcount ($statement_resource) {}
1593
1594 /**
1595 * &Alias; <function>oci_close</function>
1596 * @link http://www.php.net/manual/en/function.ocilogoff.php
1597 * @param connection_resource
1598 */
1599 function ocilogoff ($connection_resource) {}
1600
1601 /**
1602 * &Alias; <function>oci_connect</function>
1603 * @link http://www.php.net/manual/en/function.ocilogon.php
1604 * @param username
1605 * @param password
1606 * @param connection_string[optional]
1607 * @param character_set[optional]
1608 * @param session_mode[optional]
1609 */
1610 function ocilogon ($username, $password, $connection_string, $character_set, $session_mode) {}
1611
1612 /**
1613 * &Alias; <function>oci_new_connect</function>
1614 * @link http://www.php.net/manual/en/function.ocinlogon.php
1615 * @param username
1616 * @param password
1617 * @param connection_string[optional]
1618 * @param character_set[optional]
1619 * @param session_mode[optional]
1620 */
1621 function ocinlogon ($username, $password, $connection_string, $character_set, $session_mode) {}
1622
1623 /**
1624 * &Alias; <function>oci_pconnect</function>
1625 * @link http://www.php.net/manual/en/function.ociplogon.php
1626 * @param username
1627 * @param password
1628 * @param connection_string[optional]
1629 * @param character_set[optional]
1630 * @param session_mode[optional]
1631 */
1632 function ociplogon ($username, $password, $connection_string, $character_set, $session_mode) {}
1633
1634 /**
1635 * &Alias; <function>oci_error</function>
1636 * @link http://www.php.net/manual/en/function.ocierror.php
1637 * @param connection_or_statement_resource[optional]
1638 */
1639 function ocierror ($connection_or_statement_resource) {}
1640
1641 /**
1642 * &Alias; <function>OCI-Lob::free</function>
1643 * @link http://www.php.net/manual/en/function.ocifreedesc.php
1644 * @param lob_descriptor
1645 */
1646 function ocifreedesc ($lob_descriptor) {}
1647
1648 /**
1649 * &Alias; <function>OCI-Lob::save</function>
1650 * @link http://www.php.net/manual/en/function.ocisavelob.php
1651 * @param lob_descriptor
1652 * @param data
1653 * @param offset[optional]
1654 */
1655 function ocisavelob ($lob_descriptor, $data, $offset) {}
1656
1657 /**
1658 * &Alias; <function>OCI-Lob::import</function>
1659 * @link http://www.php.net/manual/en/function.ocisavelobfile.php
1660 * @param lob_descriptor
1661 * @param filename
1662 */
1663 function ocisavelobfile ($lob_descriptor, $filename) {}
1664
1665 /**
1666 * &Alias; <function>OCI-Lob::export</function>
1667 * @link http://www.php.net/manual/en/function.ociwritelobtofile.php
1668 * @param lob_descriptor
1669 * @param filename
1670 * @param start[optional]
1671 * @param length[optional]
1672 */
1673 function ociwritelobtofile ($lob_descriptor, $filename, $start, $length) {}
1674
1675 /**
1676 * &Alias; <function>OCI-Lob::load</function>
1677 * @link http://www.php.net/manual/en/function.ociloadlob.php
1678 * @param lob_descriptor
1679 */
1680 function ociloadlob ($lob_descriptor) {}
1681
1682 /**
1683 * &Alias; <function>oci_commit</function>
1684 * @link http://www.php.net/manual/en/function.ocicommit.php
1685 * @param connection_resource
1686 */
1687 function ocicommit ($connection_resource) {}
1688
1689 /**
1690 * &Alias; <function>oci_rollback</function>
1691 * @link http://www.php.net/manual/en/function.ocirollback.php
1692 * @param connection_resource
1693 */
1694 function ocirollback ($connection_resource) {}
1695
1696 /**
1697 * &Alias; <function>oci_new_descriptor</function>
1698 * @link http://www.php.net/manual/en/function.ocinewdescriptor.php
1699 * @param connection_resource
1700 * @param type[optional]
1701 */
1702 function ocinewdescriptor ($connection_resource, $type) {}
1703
1704 /**
1705 * &Alias; <function>oci_set_prefetch</function>
1706 * @link http://www.php.net/manual/en/function.ocisetprefetch.php
1707 * @param statement_resource
1708 * @param number_of_rows
1709 */
1710 function ocisetprefetch ($statement_resource, $number_of_rows) {}
1711
1712 /**
1713 * @param connection_resource_or_connection_string
1714 * @param username
1715 * @param old_password
1716 * @param new_password
1717 */
1718 function ocipasswordchange ($connection_resource_or_connection_string, $username, $old_password, $new_password) {}
1719
1720 /**
1721 * &Alias; <function>OCI-Collection::free</function>
1722 * @link http://www.php.net/manual/en/function.ocifreecollection.php
1723 * @param collection
1724 */
1725 function ocifreecollection ($collection) {}
1726
1727 /**
1728 * &Alias; <function>oci_new_collection</function>
1729 * @link http://www.php.net/manual/en/function.ocinewcollection.php
1730 * @param connection_resource
1731 * @param type_name
1732 * @param schema_name[optional]
1733 */
1734 function ocinewcollection ($connection_resource, $type_name, $schema_name) {}
1735
1736 /**
1737 * &Alias; <function>OCI-Collection::append</function>
1738 * @link http://www.php.net/manual/en/function.ocicollappend.php
1739 * @param collection
1740 * @param value
1741 */
1742 function ocicollappend ($collection, $value) {}
1743
1744 /**
1745 * &Alias; <function>OCI-Collection::getElem</function>
1746 * @link http://www.php.net/manual/en/function.ocicollgetelem.php
1747 * @param collection
1748 * @param index
1749 */
1750 function ocicollgetelem ($collection, $index) {}
1751
1752 /**
1753 * &Alias; <function>OCI-Collection::assignElem</function>
1754 * @link http://www.php.net/manual/en/function.ocicollassignelem.php
1755 * @param collection
1756 * @param index
1757 * @param value
1758 */
1759 function ocicollassignelem ($collection, $index, $value) {}
1760
1761 /**
1762 * &Alias; <function>OCI-Collection::size</function>
1763 * @link http://www.php.net/manual/en/function.ocicollsize.php
1764 * @param collection
1765 */
1766 function ocicollsize ($collection) {}
1767
1768 /**
1769 * &Alias; <function>OCI-Collection::max</function>
1770 * @link http://www.php.net/manual/en/function.ocicollmax.php
1771 * @param collection
1772 */
1773 function ocicollmax ($collection) {}
1774
1775 /**
1776 * &Alias; <function>OCI-Collection::trim</function>
1777 * @link http://www.php.net/manual/en/function.ocicolltrim.php
1778 * @param collection
1779 * @param number
1780 */
1781 function ocicolltrim ($collection, $number) {}
1782
1783
1784 /**
1785 * See OCI_NO_AUTO_COMMIT.
1786 * @link http://www.php.net/manual/en/oci8.constants.php
1787 */
1788 define ('OCI_DEFAULT', 0);
1789
1790 /**
1791 * Used with oci_connect to connect with
1792 * the SYSOPER privilege. The &php.ini; setting
1793 * oci8.privileged_connect
1794 * should be enabled to use this.
1795 * @link http://www.php.net/manual/en/oci8.constants.php
1796 */
1797 define ('OCI_SYSOPER', 4);
1798
1799 /**
1800 * Used with oci_connect to connect with
1801 * the SYSDBA privilege. The &php.ini; setting
1802 * oci8.privileged_connect
1803 * should be enabled to use this.
1804 * @link http://www.php.net/manual/en/oci8.constants.php
1805 */
1806 define ('OCI_SYSDBA', 2);
1807
1808 /**
1809 * Used with oci_connect for using
1810 * Oracles' External or OS authentication. Introduced in PHP
1811 * 5.3 and PECL OCI8 1.3.4.
1812 * @link http://www.php.net/manual/en/oci8.constants.php
1813 */
1814 define ('OCI_CRED_EXT', -2147483648);
1815
1816 /**
1817 * Statement execution mode
1818 * for oci_execute. Use this mode if you
1819 * want meta data such as the column names but don't want to
1820 * fetch rows from the query.
1821 * @link http://www.php.net/manual/en/oci8.constants.php
1822 */
1823 define ('OCI_DESCRIBE_ONLY', 16);
1824
1825 /**
1826 * Statement execution mode for oci_execute
1827 * call. Automatically commit changes when the statement has
1828 * succeeded.
1829 * @link http://www.php.net/manual/en/oci8.constants.php
1830 */
1831 define ('OCI_COMMIT_ON_SUCCESS', 32);
1832
1833 /**
1834 * Statement execution mode
1835 * for oci_execute. The transaction is not
1836 * automatically committed when using this mode. For
1837 * readability in new code, use this value instead of the
1838 * older, equivalent OCI_DEFAULT constant.
1839 * Introduced in PHP 5.3.2 (PECL OCI8 1.4).
1840 * @link http://www.php.net/manual/en/oci8.constants.php
1841 */
1842 define ('OCI_NO_AUTO_COMMIT', 0);
1843
1844 /**
1845 * Obsolete. Statement fetch mode. Used when the application
1846 * knows in advance exactly how many rows it will be fetching.
1847 * This mode turns prefetching off for Oracle release 8 or
1848 * later mode. The cursor is canceled after the desired rows
1849 * are fetched which may result in reduced server-side
1850 * resource usage.
1851 * @link http://www.php.net/manual/en/oci8.constants.php
1852 */
1853 define ('OCI_EXACT_FETCH', 2);
1854
1855 /**
1856 * Used with to set the seek position.
1857 * @link http://www.php.net/manual/en/oci8.constants.php
1858 */
1859 define ('OCI_SEEK_SET', 0);
1860
1861 /**
1862 * Used with to set the seek position.
1863 * @link http://www.php.net/manual/en/oci8.constants.php
1864 */
1865 define ('OCI_SEEK_CUR', 1);
1866
1867 /**
1868 * Used with to set the seek position.
1869 * @link http://www.php.net/manual/en/oci8.constants.php
1870 */
1871 define ('OCI_SEEK_END', 2);
1872
1873 /**
1874 * Used with to free
1875 * buffers used.
1876 * @link http://www.php.net/manual/en/oci8.constants.php
1877 */
1878 define ('OCI_LOB_BUFFER_FREE', 1);
1879
1880 /**
1881 * The same as OCI_B_BFILE.
1882 * @link http://www.php.net/manual/en/oci8.constants.php
1883 */
1884 define ('SQLT_BFILEE', 114);
1885
1886 /**
1887 * The same as OCI_B_CFILEE.
1888 * @link http://www.php.net/manual/en/oci8.constants.php
1889 */
1890 define ('SQLT_CFILEE', 115);
1891
1892 /**
1893 * The same as OCI_B_CLOB.
1894 * @link http://www.php.net/manual/en/oci8.constants.php
1895 */
1896 define ('SQLT_CLOB', 112);
1897
1898 /**
1899 * The same as OCI_B_BLOB.
1900 * @link http://www.php.net/manual/en/oci8.constants.php
1901 */
1902 define ('SQLT_BLOB', 113);
1903
1904 /**
1905 * The same as OCI_B_ROWID.
1906 * @link http://www.php.net/manual/en/oci8.constants.php
1907 */
1908 define ('SQLT_RDD', 104);
1909
1910 /**
1911 * The same as OCI_B_INT.
1912 * @link http://www.php.net/manual/en/oci8.constants.php
1913 */
1914 define ('SQLT_INT', 3);
1915
1916 /**
1917 * The same as OCI_B_NUM.
1918 * @link http://www.php.net/manual/en/oci8.constants.php
1919 */
1920 define ('SQLT_NUM', 2);
1921
1922 /**
1923 * The same as OCI_B_CURSOR.
1924 * @link http://www.php.net/manual/en/oci8.constants.php
1925 */
1926 define ('SQLT_RSET', 116);
1927
1928 /**
1929 * Used with oci_bind_array_by_name to bind arrays of
1930 * CHAR.
1931 * @link http://www.php.net/manual/en/oci8.constants.php
1932 */
1933 define ('SQLT_AFC', 96);
1934
1935 /**
1936 * Used with oci_bind_array_by_name to bind arrays of
1937 * VARCHAR2.
1938 * Also used with oci_bind_by_name.
1939 * @link http://www.php.net/manual/en/oci8.constants.php
1940 */
1941 define ('SQLT_CHR', 1);
1942
1943 /**
1944 * Used with oci_bind_array_by_name to bind arrays of
1945 * VARCHAR.
1946 * @link http://www.php.net/manual/en/oci8.constants.php
1947 */
1948 define ('SQLT_VCS', 9);
1949
1950 /**
1951 * Used with oci_bind_array_by_name to bind arrays of
1952 * VARCHAR2.
1953 * @link http://www.php.net/manual/en/oci8.constants.php
1954 */
1955 define ('SQLT_AVC', 97);
1956
1957 /**
1958 * Used with oci_bind_array_by_name to bind arrays of
1959 * STRING.
1960 * @link http://www.php.net/manual/en/oci8.constants.php
1961 */
1962 define ('SQLT_STR', 5);
1963
1964 /**
1965 * Used with oci_bind_array_by_name to bind arrays of
1966 * LONG VARCHAR.
1967 * @link http://www.php.net/manual/en/oci8.constants.php
1968 */
1969 define ('SQLT_LVC', 94);
1970
1971 /**
1972 * Used with oci_bind_array_by_name to bind arrays of
1973 * FLOAT.
1974 * @link http://www.php.net/manual/en/oci8.constants.php
1975 */
1976 define ('SQLT_FLT', 4);
1977
1978 /**
1979 * Not supported.
1980 * @link http://www.php.net/manual/en/oci8.constants.php
1981 */
1982 define ('SQLT_UIN', 68);
1983
1984 /**
1985 * Used with oci_bind_by_name to bind LONG values.
1986 * @link http://www.php.net/manual/en/oci8.constants.php
1987 */
1988 define ('SQLT_LNG', 8);
1989
1990 /**
1991 * Used with oci_bind_by_name to bind LONG RAW values.
1992 * @link http://www.php.net/manual/en/oci8.constants.php
1993 */
1994 define ('SQLT_LBI', 24);
1995
1996 /**
1997 * The same as OCI_B_BIN.
1998 * @link http://www.php.net/manual/en/oci8.constants.php
1999 */
2000 define ('SQLT_BIN', 23);
2001
2002 /**
2003 * Used with oci_bind_array_by_name to bind arrays of
2004 * LONG.
2005 * @link http://www.php.net/manual/en/oci8.constants.php
2006 */
2007 define ('SQLT_ODT', 156);
2008
2009 /**
2010 * Not supported.
2011 * @link http://www.php.net/manual/en/oci8.constants.php
2012 */
2013 define ('SQLT_BDOUBLE', 22);
2014
2015 /**
2016 * Not supported.
2017 * @link http://www.php.net/manual/en/oci8.constants.php
2018 */
2019 define ('SQLT_BFLOAT', 21);
2020
2021 /**
2022 * Used with oci_bind_by_name when binding
2023 * named data types. Note: in PHP < 5.0 it was called
2024 * OCI_B_SQLT_NTY.
2025 * @link http://www.php.net/manual/en/oci8.constants.php
2026 */
2027 define ('OCI_B_NTY', 108);
2028
2029 /**
2030 * The same as OCI_B_NTY.
2031 * @link http://www.php.net/manual/en/oci8.constants.php
2032 */
2033 define ('SQLT_NTY', 108);
2034
2035 /**
2036 * Obsolete.
2037 * @link http://www.php.net/manual/en/oci8.constants.php
2038 */
2039 define ('OCI_SYSDATE', "SYSDATE");
2040
2041 /**
2042 * Used with oci_bind_by_name when binding
2043 * BFILEs.
2044 * @link http://www.php.net/manual/en/oci8.constants.php
2045 */
2046 define ('OCI_B_BFILE', 114);
2047
2048 /**
2049 * Used with oci_bind_by_name when binding
2050 * CFILEs.
2051 * @link http://www.php.net/manual/en/oci8.constants.php
2052 */
2053 define ('OCI_B_CFILEE', 115);
2054
2055 /**
2056 * Used with oci_bind_by_name when binding
2057 * CLOBs.
2058 * @link http://www.php.net/manual/en/oci8.constants.php
2059 */
2060 define ('OCI_B_CLOB', 112);
2061
2062 /**
2063 * Used with oci_bind_by_name when
2064 * binding BLOBs.
2065 * @link http://www.php.net/manual/en/oci8.constants.php
2066 */
2067 define ('OCI_B_BLOB', 113);
2068
2069 /**
2070 * Used with oci_bind_by_name when binding
2071 * ROWIDs.
2072 * @link http://www.php.net/manual/en/oci8.constants.php
2073 */
2074 define ('OCI_B_ROWID', 104);
2075
2076 /**
2077 * Used with oci_bind_by_name when binding
2078 * cursors, previously allocated
2079 * with oci_new_descriptor.
2080 * @link http://www.php.net/manual/en/oci8.constants.php
2081 */
2082 define ('OCI_B_CURSOR', 116);
2083
2084 /**
2085 * Used with oci_bind_by_name to bind RAW values.
2086 * @link http://www.php.net/manual/en/oci8.constants.php
2087 */
2088 define ('OCI_B_BIN', 23);
2089
2090 /**
2091 * Used with oci_bind_array_by_name to bind arrays of
2092 * INTEGER.
2093 * @link http://www.php.net/manual/en/oci8.constants.php
2094 */
2095 define ('OCI_B_INT', 3);
2096
2097 /**
2098 * Used with oci_bind_array_by_name to bind arrays of
2099 * NUMBER.
2100 * @link http://www.php.net/manual/en/oci8.constants.php
2101 */
2102 define ('OCI_B_NUM', 2);
2103
2104 /**
2105 * Default mode of oci_fetch_all.
2106 * @link http://www.php.net/manual/en/oci8.constants.php
2107 */
2108 define ('OCI_FETCHSTATEMENT_BY_COLUMN', 16);
2109
2110 /**
2111 * Alternative mode of oci_fetch_all.
2112 * @link http://www.php.net/manual/en/oci8.constants.php
2113 */
2114 define ('OCI_FETCHSTATEMENT_BY_ROW', 32);
2115
2116 /**
2117 * Used with oci_fetch_all and
2118 * oci_fetch_array to get results as an associative
2119 * array.
2120 * @link http://www.php.net/manual/en/oci8.constants.php
2121 */
2122 define ('OCI_ASSOC', 1);
2123
2124 /**
2125 * Used with oci_fetch_all and
2126 * oci_fetch_array to get results as an
2127 * enumerated array.
2128 * @link http://www.php.net/manual/en/oci8.constants.php
2129 */
2130 define ('OCI_NUM', 2);
2131
2132 /**
2133 * Used with oci_fetch_all and
2134 * oci_fetch_array to get results as an
2135 * array with both associative and number indices.
2136 * @link http://www.php.net/manual/en/oci8.constants.php
2137 */
2138 define ('OCI_BOTH', 3);
2139
2140 /**
2141 * Used with oci_fetch_array to get empty
2142 * array elements if the row items value is &null;.
2143 * @link http://www.php.net/manual/en/oci8.constants.php
2144 */
2145 define ('OCI_RETURN_NULLS', 4);
2146
2147 /**
2148 * Used with oci_fetch_array to get the
2149 * data value of the LOB instead of the descriptor.
2150 * @link http://www.php.net/manual/en/oci8.constants.php
2151 */
2152 define ('OCI_RETURN_LOBS', 8);
2153
2154 /**
2155 * This flag tells oci_new_descriptor to
2156 * initialize a new FILE descriptor.
2157 * @link http://www.php.net/manual/en/oci8.constants.php
2158 */
2159 define ('OCI_DTYPE_FILE', 56);
2160
2161 /**
2162 * This flag tells oci_new_descriptor to
2163 * initialize a new LOB descriptor.
2164 * @link http://www.php.net/manual/en/oci8.constants.php
2165 */
2166 define ('OCI_DTYPE_LOB', 50);
2167
2168 /**
2169 * This flag tells oci_new_descriptor to
2170 * initialize a new ROWID descriptor.
2171 * @link http://www.php.net/manual/en/oci8.constants.php
2172 */
2173 define ('OCI_DTYPE_ROWID', 54);
2174
2175 /**
2176 * The same as OCI_DTYPE_FILE.
2177 * @link http://www.php.net/manual/en/oci8.constants.php
2178 */
2179 define ('OCI_D_FILE', 56);
2180
2181 /**
2182 * The same as OCI_DTYPE_LOB.
2183 * @link http://www.php.net/manual/en/oci8.constants.php
2184 */
2185 define ('OCI_D_LOB', 50);
2186
2187 /**
2188 * The same as OCI_DTYPE_ROWID.
2189 * @link http://www.php.net/manual/en/oci8.constants.php
2190 */
2191 define ('OCI_D_ROWID', 54);
2192
2193 /**
2194 * Used with
2195 * to indicate that a temporary CLOB should be created.
2196 * @link http://www.php.net/manual/en/oci8.constants.php
2197 */
2198 define ('OCI_TEMP_CLOB', 2);
2199
2200 /**
2201 * Used with
2202 * to indicate that a temporary BLOB should be created.
2203 * @link http://www.php.net/manual/en/oci8.constants.php
2204 */
2205 define ('OCI_TEMP_BLOB', 1);
2206
2207 // End of oci8 v.2.0.8
2208 ?>