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