* Returns large object's contents
* @link https://php.net/manual/en/oci-lob.load.php
* @return string|false The contents of the object, or FALSE on errors.
*/
public function load() {}
/**
* (PHP 5, PECL OCI8 >= 1.1.0)
* Returns the current position of internal pointer of large object
* @link https://php.net/manual/en/oci-lob.tell.php
* @return int|false Current position of a LOB's internal pointer or FALSE if an
* error occurred.
*/
public function tell() {}
/**
* (PHP 5, PECL OCI8 >= 1.1.0)
* Truncates large object
* @link https://php.net/manual/en/oci-lob.truncate.php
* @param int $length [optional]
* If provided, this method will truncate the LOB to * length bytes. Otherwise, it will completely * purge the LOB. *
* @return bool TRUE on success or FALSE on failure. */ public function truncate($length = 0) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)* By default, resources are not freed, but using flag * OCI_LOB_BUFFER_FREE you can do it explicitly. * Be sure you know what you're doing - next read/write operation to the * same part of LOB will involve a round-trip to the server and initialize * new buffer resources. It is recommended to use * OCI_LOB_BUFFER_FREE flag only when you are not * going to work with the LOB anymore. *
* @return bool TRUE on success or FALSE on failure. * *
* Returns FALSE if buffering was not enabled or an error occurred.
*/
public function flush($flag = null) {}
/**
* (PHP 5, PECL OCI8 >= 1.1.0)
* Changes current state of buffering for the large object
* @link https://php.net/manual/en/oci-lob.setbuffering.php
* @param bool $on_off
* TRUE for on and FALSE for off. *
* @return bool TRUE on success or FALSE on failure. Repeated calls to this method with the same flag will * return TRUE. */ public function setbuffering($on_off) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)* The length of data to read, in bytes. Large values will be rounded down to 1 MB. *
* @return string|false The contents as a string, or FALSE on failure. */ public function read($length) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)* Indicates the amount of bytes, on which internal pointer should be * moved from the position, pointed by whence. *
* @param int $whence [optional]* May be one of: * OCI_SEEK_SET - sets the position equal to * offset * OCI_SEEK_CUR - adds offset * bytes to the current position * OCI_SEEK_END - adds offset * bytes to the end of large object (use negative value to move to a position * before the end of large object) *
* @return bool TRUE on success or FALSE on failure. */ public function seek($offset, $whence = OCI_SEEK_SET) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)* The data to write in the LOB. *
* @param int $length [optional]* If this parameter is given, writing will stop after * length bytes have been written or the end of * data is reached, whichever comes first. *
* @return int|false The number of bytes written or FALSE on failure. */ public function write($data, $length = null) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)* The copied LOB. *
* @return bool TRUE on success or FALSE on failure. */ public function append(OCILob $lob_from) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)* Path to the file. *
* @param int $start [optional]* Indicates from where to start exporting. *
* @param int $length [optional]* Indicates the length of data to be exported. *
* @return bool TRUE on success or FALSE on failure. */ public function export($filename, $start = null, $length = null) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)* Path to the file. *
* @return bool TRUE on success or FALSE on failure. */ public function import($filename) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)* The data to write. *
* @param int $lob_type [optional]* Can be one of the following: * OCI_TEMP_BLOB is used to create temporary BLOBs * OCI_TEMP_CLOB is used to create * temporary CLOBs *
* @return bool TRUE on success or FALSE on failure. */ public function writeTemporary($data, $lob_type = OCI_TEMP_CLOB) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)* The data to be saved. *
* @param int $offset [optional]* Can be used to indicate offset from the beginning of the large object. *
* @return bool TRUE on success or FALSE on failure. */ public function save($data, $offset = null) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)* The value to be added to the collection. Can be a string or a number. *
* @return bool TRUE on success or FALSE on failure. */ public function append($value) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)* The element index. First index is 0. *
* @return mixed FALSE if such element doesn't exist; NULL if element is NULL; * string if element is column of a string datatype or number if element is * numeric field. */ public function getelem($index) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)* The element index. First index is 0. *
* @param mixed $value* Can be a string or a number. *
* @return bool TRUE on success or FALSE on failure. */ public function assignelem($index, $value) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)* An instance of OCICollection. *
* @return bool TRUE on success or FALSE on failure. */ public function assign(OCICollection $from) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)
* If the returned value is 0, then the number of elements is not limited.
*/
public function max() {}
/**
* (PHP 5, PECL OCI8 >= 1.1.0)
* Trims elements from the end of the collection
* @link https://php.net/manual/en/oci-collection.trim.php
* @param int $num
* The number of elements to be trimmed. *
* @return bool TRUE on success or FALSE on failure. */ public function trim($num) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)An Oracle connection identifier, * returned by {@see oci_connect}, {@see oci_pconnect}, * or {@see oci_new_connect}.
* @param int $time_outThe maximum time in milliseconds that any * single round-trip between PHP and Oracle Database may take. *
* @return bool TRUE on success or FALSE on failure. */ function oci_set_call_timeout($connection, int $time_out) {} /** * (PHP 7 >== 7.2.14, PHP 8, PHP 7 >= 7.3.1, PHP 8, PECL OCI8 >= 2.2.0) * Sets the database operation * @link https://www.php.net/manual/en/function.oci-set-db-operation.php * @param resource $connectionAn Oracle connection identifier, * returned by {@see oci_connect}, {@see oci_pconnect}, * or {@see oci_new_connect}.
* @param string $dbopUser chosen string.
* @return bool TRUE on success or FALSE on failure. */ function oci_set_db_operation($connection, string $dbop) {}