* Open a connection to a CUBRID Server * @link https://php.net/manual/en/function.cubrid-connect.php * @param string $host

* Host name or IP address of CUBRID CAS server. *

* @param int $port

* Port number of CUBRID CAS server (BROKER_PORT configured in * $CUBRID/conf/cubrid_broker.conf). *

* @param string $dbname

* Name of database. *

* @param string $userid [optional]

* User name for the database. Default value is 'PUBLIC'. *

* @param string $passwd [optional]

* User password. Default value is empty string, i.e. no * password is defined. *

* @param bool $new_link [optional]

* If a second call is made to cubrid_connect() * with the same arguments, no new link will be established, * but instead, the connection identifier of the already * opened connection will be * returned. The new_link parameter modifies this * behavior and makes cubrid_connect() always open * a new connection, even if cubrid_connect() was called * before with the same parameters. *

* @return resource|false

* a CUBRID connection identifier on success or false on failure. *

*/ function cubrid_connect($host, $port, $dbname, $userid = 'PUBLIC', $passwd = '', $new_link = false) {} /** * (PHP 5, CUBRID >= 8.3.1)
* Establish the environment for connecting to CUBRID server. * @link https://php.net/manual/en/function.cubrid-connect.php * @param string $conn_url

* A character string that contains server connection information.
* Syntax: 'CUBRID:>host<:>port<:>dbname<:>username<:>password<:?>params<'.
* E.g. CUBRID:127.0.0.1:33088:demodb:dba:123456:?autocommit=off&althost=10.34.63.132:33088&rctime=100 *

* @param string $userid [optional]

* User name for the database. Default value is 'PUBLIC'. *

* @param string $passwd [optional]

* User password. Default value is empty string, i.e. no * password is defined. *

* @param bool $new_link [optional]

* If a second call is made to cubrid_connect() * with the same arguments, no new link will be established, * but instead, the connection identifier of the already * opened connection will be * returned. The new_link parameter modifies this * behavior and makes cubrid_connect() always open * a new connection, even if cubrid_connect() was called * before with the same parameters. *

* @return resource|false

* a CUBRID connection identifier on success or false on failure. *

*/ function cubrid_connect_with_url($conn_url, $userid = 'PUBLIC', $passwd = '', $new_link = false) {} /** * (PHP 5, CUBRID >= 8.3.1)
* Open a persistent connection to a CUBRID server * @link https://php.net/manual/en/function.cubrid-pconnect.php * @param string $host

* Host name or IP address of CUBRID CAS server. *

* @param int $port

* Port number of CUBRID CAS server (BROKER_PORT configured in * $CUBRID/conf/cubrid_broker.conf). *

* @param string $dbname

* Name of database. *

* @param string $userid [optional]

* User name for the database. Default value is 'PUBLIC'. *

* @param string $passwd [optional]

* User password. Default value is empty string, i.e. no * password is defined. *

* @return resource|false

* Connection identifier, when process is successful. * FALSE, when process is unsuccessful. *

*/ function cubrid_pconnect($host, $port, $dbname, $userid = 'PUBLIC', $passwd = '') {} /** * (PHP 5, CUBRID >= 8.3.1)
* Open a persistent connection to CUBRID server * @link https://secure.php.net/manual/en/function.cubrid-pconnect-with-url.php * @param string $conn_url

* A character string that contains server connection information.
* Syntax: 'CUBRID:>host<:>port<:>dbname<:>username<:>password<:?>params<'.
* E.g. CUBRID:127.0.0.1:33088:demodb:dba:123456:?autocommit=off&althost=10.34.63.132:33088&rctime=100 *

* @param string $userid [optional]

* User name for the database. Default value is 'PUBLIC'. *

* @param string $passwd [optional]

* User password. Default value is empty string, i.e. no * password is defined. *

* @return resource|false

* Connection identifier, when process is successful. * FALSE, when process is unsuccessful. *

*/ function cubrid_pconnect_with_url($conn_url, $userid = 'PUBLIC', $passwd = '') {} /** * (PHP 5, CUBRID >= 8.3.0)
* Close CUBRID connection. Same as cubrid_disconnect(). * @link https://php.net/manual/en/function.cubrid-close.php * @param resource $conn_identifier [optional]

* The CUBRID connection identifier. If the connection * identifier is not specified, the last connection * opened by cubrid_connect() is assumed. *

* @return bool

* TRUE, when process is successful. * FALSE, when process is unsuccessful. *

*/ function cubrid_close($conn_identifier = null) {} /** * (PHP 5, CUBRID >= 8.3.0)
* Close CUBRID connection. Same as cubrid_close(). * @link https://php.net/manual/en/function.cubrid-disconnect.php * @param resource $conn_identifier [optional]

* Connection identifier. *

* @return bool Returns true on success or false on failure. */ function cubrid_disconnect($conn_identifier = null) {} /** * (PHP 5, CUBRID >= 8.3.1)
* Send a CUBRID query * @link https://php.net/manual/en/function.cubrid-query.php * @param string $query

* A SQL query. Data inside the query should be properly escaped. *

* @param resource $conn_identifier [optional]

* The CUBRID connection. If the connection identifier * is not specified, the last connection opened by * cubrid_connect() is assumed. *

* @return resource|bool */ function cubrid_query($query, $conn_identifier = null) {} /** * (PHP 5, CUBRID >= 8.3.0)
* Execute a prepared SQL statement * @link https://php.net/manual/en/function.cubrid-execute.php * @param resource $conn_identifier

* Connection identifier. *

* @param string $sql

* SQL to be executed. *

* @param int $option [optional]

* Query execution option CUBRID_INCLUDE_OID, CUBRID_ASYNC, * CUBRID_EXEC_QUERY_ALL. *

* @return resource|bool

* Request identifier, when process is successful, * or FALSE, when process is unsuccessful. *

*/ function cubrid_execute($conn_identifier, $sql, $option = null) {} /** * (PHP 5, CUBRID >= 8.3.0)
* Execute a prepared SQL statement * @link https://php.net/manual/en/function.cubrid-execute.php * @param resource $request_identifier

* cubrid_prepare() identifier. *

* @param int $option [optional]

* Query execution option CUBRID_INCLUDE_OID, CUBRID_ASYNC, * CUBRID_EXEC_QUERY_ALL. *

* @return bool

* TRUE, when process is successful. FALSE, when * process is unsuccessful. *

*/ function cubrid_execute($request_identifier, $option = null) {} /** * (PHP 5, CUBRID >= 8.3.0)
* Bind variables to a prepared statement as parameters * @link https://php.net/manual/en/function.cubrid-bind.php * @param resource $req_identifier

* Request identifier as a result of cubrid_prepare(). *

* @param int $bind_index

* Location of binding parameters. It starts with 1. *

* @param mixed $bind_value

* Actual value for binding. *

* @param string $bind_value_type [optional]

* A type of the value to bind. (It is omitted by default. Thus, system * internally use string by default. However, you need to specify the * exact type of the value as an argument when * they are NCHAR, BIT, or BLOB/CLOB). *

*

* The following bind types are supported: * "STRING", "NCHAR", "BIT", "NUMERIC", "NUMBER", "FLOAT", "DOUBLE", * "TIME", "DATE", "TIMESTAMP", "OBJECT", "BLOB", "CLOB", "NULL". *

* @return bool TRUE, when process is successful, otherwise FALSE. */ function cubrid_bind($req_identifier, $bind_index, $bind_value, $bind_value_type = null) {} /** * (PHP 5, CUBRID >= 8.3.0)
* Close the request handle. Same as cubrid_close_request(). * @link https://php.net/manual/en/function.cubrid-close-prepare.php * @param resource $req_identifier

* Request identifier. *

* @return bool TRUE, when process is successful, otherwise FALSE. */ function cubrid_close_prepare($req_identifier) {} /** * (PHP 5, CUBRID >= 8.3.0)
* Close the request handle. Same as cubrid_close_prepare(). * @link https://php.net/manual/en/function.cubrid-close-request.php * @param resource $req_identifier

* Request identifier. *

* @return bool TRUE, when process is successful, or FALSE. */ function cubrid_close_request($req_identifier) {} /** * (PHP 5, CUBRID >= 8.3.0)
* Get contents of collection type column using OID * @link https://php.net/manual/en/function.cubrid-col-get.php * @param resource $conn_identifier

* Connection identifier. *

* @param string $oid

* OID of the instance that you want to read. *

* @param string $attr_name

* Attribute name that you want to read from the instance. *

* @return array */ function cubrid_col_get($conn_identifier, $oid, $attr_name) {} /** * (PHP 5, CUBRID >= 8.3.0)
* Get the number of elements in collection type column using OID * @link https://php.net/manual/en/function.cubrid-col-size.php * @param resource $conn_identifier

* Connection identifier. *

* @param string $oid

* OID of the instance that you want to read. *

* @param string $attr_name

* Attribute name that you want to read from the instance. *

* @return int

* Number of elements, when process is successful. * FALSE, when process is unsuccessful. *

*/ function cubrid_col_size($conn_identifier, $oid, $attr_name) {} /** * (PHP 5, CUBRID >= 8.3.0)
* Perform a query without fetching the results into memory * @link https://php.net/manual/en/function.cubrid-unbuffered-query.php * @param string $query

* The SQL query to execute. *

* @param resource $conn_identifier [optional]

* The CUBRID connection. If the connection identifier is not * specified, the last connection opened by cubrid_connect() is assumed. *

* @return resource|bool

* For SELECT, SHOW, DESCRIBE or EXPLAIN statements, * cubrid_unbuffered_query() returns a resource on success, or false on * error. *

*

* For other type of SQL statements, UPDATE, DELETE, DROP, etc, * cubrid_unbuffered_query returns true on success * or false on error. *

*/ function cubrid_unbuffered_query($query, $conn_identifier = null) {} /** * (PHP 5, CUBRID >= 8.3.0)
* Return an array with the list of all existing CUBRID databases * @link https://php.net/manual/en/function.cubrid-list-dbs.php * @param resource $conn_identifier [optional]

* The CUBRID connection. *

* @return array

* a numeric array with all existing CUBRID databases on success, * or false on failure. *

*/ function cubrid_list_dbs($conn_identifier) {} /** * (PHP 5, CUBRID >= 8.3.1)
* Get the error message. Same as cubrid_error_msg(); * @link https://php.net/manual/en/function.cubrid-error.php * @param resource $connection [optional]

* The CUBRID connection. *

* @return string

* Error message that occurred. *

*/ function cubrid_error($connection = null) {} /** * (PHP 5, CUBRID >= 8.3.0)
* Get last error message for the most recent function call. * Same as cubrid_error(); * @link https://php.net/manual/en/function.cubrid-error-msg.php * @return string

* Error message that occurred. *

*/ function cubrid_error_msg() {} /** * (PHP 5, CUBRID >= 8.3.1)
* Returns the numerical value of the error message from previous * CUBRID operation. Same as cubrid_error_code(); * @link https://php.net/manual/en/function.cubrid-errno.php * @param resource $conn_identifier [optional]

* The CUBRID connection identifier. If the connection * identifier is not specified, the last connection * opened by cubrid_connect() is assumed. *

* @return int

* the error number from the last CUBRID function, or * 0 (zero) if no error occurred. *

*/ function cubrid_errno($conn_identifier = null) {} /** * (PHP 5, CUBRID >= 8.3.0)
* Get error code for the most recent function call. * Same as cubrid_errno(); * @link https://php.net/manual/en/function.cubrid-error-code.php * @return int

* Error code of the error that occurred, or * 0 (zero) if no error occurred. *

*/ function cubrid_error_code() {} /** * (PHP 5, CUBRID >= 8.3.0)
* Return the number of rows affected by the last SQL statement * @link https://php.net/manual/en/function.cubrid-affected-rows.php * @param resource $conn_identifier [optional]

* The CUBRID connection. If the connection identifier is not * specified, the last link opened by cubrid_connect() is assumed. *

* @return int

* the number of affected rows on success, * or -1, when SQL statement is not INSERT, DELETE or UPDATE, * or FALSE, when the request identifier is not specified, * and there is no last request. *

*/ function cubrid_affected_rows($conn_identifier = null) {} /** * (PHP 5, CUBRID >= 8.3.0)
* Return the ID generated for the last updated AUTO_INCREMENT column * @link https://php.net/manual/en/function.cubrid-insert-id.php * @param resource $conn_identifier [optional]

* The connection identifier previously obtained by a call * to cubrid_connect(). *

* @return string

* A string representing the ID generated for an AUTO_INCREMENT column * by the previous query, on success. 0, if the previous query does * not generate new rows. FALSE on failure. *

*/ function cubrid_insert_id($conn_identifier = null) {} /** * (PHP 5, CUBRID >= 8.3.0)
* Return the value of a specific field in a specific row * @link https://php.net/manual/en/function.cubrid-result.php * @param resource $result * @param int $row

* The row number from the result that's being retrieved. Row numbers * start at 0. *

* @param mixed $field [optional]

* The name or offset of the field being retrieved. *

*

* It can be the field's offset, the field's name, or the field's table * dot field name (tablename.fieldname). If the column name has been * aliased ('select foo as bar from...'), use the alias instead of the * column name. If undefined, the first field is retrieved. *

* @return string

* Value of a specific field, on success (NULL if value if null). * FALSE on failure. *

*/ function cubrid_result($result, $row, $field = 0) {} /** * (PHP 5, CUBRID >= 8.3.0)
* Get the number of rows in the result set * @link https://php.net/manual/en/function.cubrid-num-rows.php * @param resource $result

* result comes from a call to cubrid_execute(), * cubrid_query() and cubrid_prepare() *

* @return int

* Number of rows, when process is successful. * 0 when the query was done in async mode. * -1, if SQL statement is not SELECT. * FALSE when process is unsuccessful. *

*/ function cubrid_num_rows($result) {} /** * (PHP 5, CUBRID >= 8.3.0)
* Return the number of columns in the result set * @link https://php.net/manual/en/function.cubrid-num-cols.php * @param resource $result

* Result. *

* @return int

* Number of columns, when process is successful. * FALSE, if SQL statement is not SELECT. *

*/ function cubrid_num_cols($result) {} /** * (PHP 5, CUBRID >= 8.3.0)
* Return the number of columns in the result set * @link https://php.net/manual/en/function.cubrid-num-fields.php * @param resource $result

* result comes from a call to cubrid_execute(), * cubrid_query() and cubrid_prepare() *

* @return int

* Number of columns, on success. * -1 if SQL sentence is not SELECT. * FALSE when process is unsuccessful. *

*/ function cubrid_num_fields($result) {} /** * (PHP 5, CUBRID >= 8.3.0)
* Fetch the next row from a result set * @link https://php.net/manual/en/function.cubrid-fetch.php * @param resource $result

* result comes from a call to cubrid_execute() *

* @param int $type [optional]

* Array type of the fetched result CUBRID_NUM, * CUBRID_ASSOC, CUBRID_BOTH, CUBRID_OBJECT. If you want to * operate the lob object, you can use CUBRID_LOB. *

* @return mixed * *

* The result can be received either as an array or as an object, * and you can decide which data type to use by setting the type * argument. The type variable can be set to one of the following * values: *

* *

* When type argument is omitted, the result will be received using * CUBRID_BOTH option as default. When you want to receive query * result in object data type, the column name of the result must * obey the naming rules for identifiers in PHP. For example, * column name such as "count(*)" cannot be received in object type. *

*/ function cubrid_fetch($result, $type = CUBRID_BOTH) {} /** * (PHP 5, CUBRID >= 8.3.0)
* Return a numerical array with the values of the current row * @link https://php.net/manual/en/function.cubrid-fetch-row.php * @param resource $result

* result comes from a call to cubrid_execute() *

* @param int $type

* Type can only be CUBRID_LOB, this parameter will be * used only when you need to operate the lob object. *

* @return array

* A numerical array, when process is successful. * FALSE, when there are no more rows; * NULL, when process is unsuccessful. *

*/ function cubrid_fetch_row($result, $type = null) {} /** * (PHP 5, CUBRID >= 8.3.0)
* Fetch a result row as an associative array, a numeric array, or both * @link https://php.net/manual/en/function.cubrid-fetch-array.php * @param resource $result * @param int $type [optional]

* The type of array that is to be fetched. It's a constant and can * take the following values: CUBRID_ASSOC, CUBRID_NUM, and CUBRID_BOTH. *

* @return array

* Returns an array of strings that corresponds to the fetched row, * when process is successful. * FALSE, when there are no more rows; * NULL, when process is unsuccessful. *

*

* The type of returned array depends on how result_type is defined. * By using CUBRID_BOTH (default), you'll get an array with both * associative and number indices, and you can decide which data * type to use by setting the type argument. The type variable can * be set to one of the following values: *

* */ function cubrid_fetch_array($result, $type = CUBRID_BOTH) {} /** * (PHP 5, CUBRID >= 8.3.0)
* Return the associative array that corresponds to the fetched row * @link https://php.net/manual/en/function.cubrid-fetch-assoc.php * @param resource $result

* result comes from a call to cubrid_execute() *

* @param int $type [optional]

* Type can only be CUBRID_LOB, this parameter will be used * only when you need to operate the lob object. *

* @return array

* Associative array, when process is successful. * FALSE, when there are no more rows; * NULL, when process is unsuccessful. *

*/ function cubrid_fetch_assoc($result, $type = null) {} /** * (PHP 5, CUBRID >= 8.3.0)
* Fetch the next row and return it as an object * @link https://php.net/manual/en/function.cubrid-fetch-object.php * @param resource $result

* result comes from a call to cubrid_execute() *

* @param string $class_name [optional]

* The name of the class to instantiate. If not specified, * a stdClass (stdClass is PHP's generic empty class that's * used when casting other types to objects) object is returned. *

* @param array $params [optional]

* An optional array of parameters to pass to the constructor * for class_name objects. *

* @param int $type [optional]

* Type can only be CUBRID_LOB, this parameter will be used * only when you need to operate the lob object. *

* @return object

* an object with string properties * that correspond to the fetched row, or false if there * are no more rows, or NULL, when process is unsuccessful. *

*/ function cubrid_fetch_object($result, $class_name = null, $params = null, $type = null) {} /** * (PHP 5, CUBRID >= 8.3.0)
* Move the internal row pointer of the CUBRID result * @link https://php.net/manual/en/function.cubrid-data-seek.php * @param resource $result

* The result. *

* @param int $row_number

* The desired row number of the new result pointer. *

* @return bool

* Returns TRUE on success or FALSE on failure. *

*/ function cubrid_data_seek($result, $row_number) {} /** * (PHP 5, CUBRID >= 8.3.0)
* Return an array with the lengths of the values of * each field from the current row * @link https://php.net/manual/en/function.cubrid-fetch-lengths.php * @param resource $result

* result comes from a call to cubrid_execute() *

* @return array

* A numerical array of lengths on success, * or false on failure. *

*/ function cubrid_fetch_lengths($result) {} /** * (PHP 5, CUBRID >= 8.3.1)
* Get column information from a result and return as an object * @link https://php.net/manual/en/function.cubrid-fetch-field.php * @param resource $result

* result comes from a call to cubrid_execute() *

* @param int $field_offset [optional]

* The numerical field offset. If the field offset is not specified, the * next field that was not yet retrieved by this function is retrieved. * The field_offset starts at 0. *

* @return object

* an object containing field information. The properties * of the object are: *

* */ function cubrid_fetch_field($result, $field_offset = 0) {} /** * (PHP 5, CUBRID >= 8.3.0)
* Get the column names in result * @link https://php.net/manual/en/function.cubrid-column-names.php * @param resource $req_identifier

* Request identifier. *

* @return array

* Array of string which containing column names, * when process is successful. FALSE, when process is unsuccessful. *

*/ function cubrid_column_names($req_identifier) {} /** * (PHP 5, CUBRID >= 8.3.0)
* Get column types in result * @link https://php.net/manual/en/function.cubrid-column-names.php * @param resource $req_identifier

* Request identifier. *

* @return array

* Array of string which containing column types, * when process is successful. FALSE, when process is unsuccessful. *

*/ function cubrid_column_types($req_identifier) {} /** * (PHP 5, CUBRID >= 8.3.0)
* Move the result set cursor to the specified field offset * @link https://php.net/manual/en/function.cubrid-field-seek.php * @param resource $result

* result comes from a call to cubrid_execute() *

* @param int $field_offset

* The numerical field offset. The field_offset starts at 0. * If field_offset does not exist, an error of level * E_WARNING is also issued. *

* @return bool

* Returns true on success or false on failure. *

*/ function cubrid_field_seek($result, $field_offset) {} /** * (PHP 5, CUBRID >= 8.3.0)
* Free the memory occupied by the result data * @link https://php.net/manual/en/function.cubrid-free-result.php * @param resource $req_identifier

* Request identifier. *

* @return bool

* Returns true on success or false on failure. *

*

* Note that it can only free the client fetch buffer now, * and if you want to free all the memory, use function * cubrid_close_request(). *

*/ function cubrid_free_result($req_identifier) {} /** * (PHP 5, CUBRID >= 8.3.0)
* Return the name of the specified field index * @link https://php.net/manual/en/function.cubrid-field-name.php * @param resource $result

* result comes from a call to cubrid_execute() *

* @param int $field_offset

* The field_offset starts at 0. If field_offset does not exist, * an error of level E_WARNING is also issued. *

* @return string

* The name of the specified field index on * success or false on failure. *

*/ function cubrid_field_name($result, $field_offset) {} /** * (PHP 5, CUBRID >= 8.3.0)
* Return the name of the table of the specified field * @link https://php.net/manual/en/function.cubrid-field-table.php * @param resource $result

* result comes from a call to cubrid_execute() *

* @param int $field_offset

* The field_offset starts at 0. If field_offset does not exist, * an error of level E_WARNING is also issued. *

* @return string

* The name of the table on success, * FALSE when field_offset value is invalid, or * -1 if SQL sentence is not SELECT. *

*/ function cubrid_field_table($result, $field_offset) {} /** * (PHP 5, CUBRID >= 8.3.0)
* Get the maximum length of the specified field * @link https://php.net/manual/en/function.cubrid-field-len.php * @param resource $result

* result comes from a call to cubrid_execute() *

* @param int $field_offset

* The field_offset starts at 0. If field_offset does not exist, * an error of level E_WARNING is also issued. *

* @return int

* Maximum length, when process is successful. FALSE on failure. *

*/ function cubrid_field_len($result, $field_offset) {} /** * (PHP 5, CUBRID >= 8.3.0)
* Return the type of the column corresponding to the given field offset * @link https://php.net/manual/en/function.cubrid-field-type.php * @param resource $result

* result comes from a call to cubrid_execute() *

* @param int $field_offset

* The field_offset starts at 0. If field_offset does not exist, * an error of level E_WARNING is also issued. *

* @return string

* On success the returned field type will be one of * "int", "real", "string", "blob", and others as * detailed in the CUBRID documentation. Otherwise, FALSE * when invalid field_offset value, or -1 if SQL sentence * is not SELECT. *

*/ function cubrid_field_type($result, $field_offset) {} /** * (PHP 5, CUBRID >= 8.3.0)
* Return a string with the flags of the given field offset * @link https://php.net/manual/en/function.cubrid-field-flags.php * @param resource $result

* result comes from a call to cubrid_execute() *

* @param int $field_offset

* The numerical field offset. The field_offset starts at 0. * If field_offset does not exist, an error of level * E_WARNING is also issued. *

* @return string

* a string of flags associated with the result, * or FALSE when invalid field_offset value, or -1 if SQL sentence * is not SELECT. *

*

* The following flags are reported, if your version of CUBRID * is current enough to support them: "not_null", "primary_key", * "unique_key", "foreign_key", "auto_increment", "shared", * "reverse_index", "reverse_unique", and "timestamp". *

*/ function cubrid_field_flags($result, $field_offset) {} /** * (PHP 5, CUBRID >= 8.3.0)
* Escapes special characters in a string for use in an SQL statement * @link https://php.net/manual/en/function.cubrid-real-escape-string.php * @param string $unescaped_string

* The string that is to be escaped. *

* @param resource $conn_identifier [optional]

* The CUBRID connection. If the connection identifier is not * specified, the last connection opened by cubrid_connect() is assumed. *

* @return string

* Escaped string version of the given string, on success. * FALSE on failure. *

*/ function cubrid_real_escape_string($unescaped_string, $conn_identifier = null) {} /** * (PHP 5, CUBRID >= 8.3.0)
* Return the current CUBRID connection charset * @link https://php.net/manual/en/function.cubrid-client-encoding.php * @param resource $conn_identifier [optional]

* The CUBRID connection. If the connection identifier is not * specified, the last link opened by cubrid_connect() is assumed. *

* @return string

* A string that represents the CUBRID connection charset; on success. * FALSE on failure. *

*/ function cubrid_client_encoding($conn_identifier = null) {} /** * (PHP 5, CUBRID >= 8.3.1)
* Ping a server connection or reconnect if there is no connection * @link https://php.net/manual/en/function.cubrid-ping.php * @param resource $conn_identifier [optional]

* The CUBRID connection identifier. If the connection identifier * is not specified, the last connection opened by * cubrid_connect() is assumed. *

* @return bool

* true if the connection to the server is working, * otherwise false. *

*/ function cubrid_ping($conn_identifier = null) {} /** * (PHP 5, CUBRID >= 8.3.0)
* Return the client library version * @link https://php.net/manual/en/function.cubrid-get-client-info.php * @return string

* A string that represents the client library version; on success. * FALSE on failure. *

*/ function cubrid_get_client_info() {} /** * (PHP 5, CUBRID >= 8.3.0)
* Return the CUBRID server version * @link https://php.net/manual/en/function.cubrid-get-server-info.php * @param resource $conn_identifier * @return string

* A string that represents the CUBRID server version; on success. * FALSE on failure. *

*/ function cubrid_get_server_info($conn_identifier) {} /** * (PHP 5, CUBRID >= 8.3.0)
* Returns the CUBRID database parameters * @link https://secure.php.net/manual/en/function.cubrid-get-db-parameter.php * @param resource $conn_identifier

* Connection identifier. *

* @return array

* An associative array with CUBRID database parameters; on success. * FALSE on failure. *

*/ function cubrid_get_db_parameter($conn_identifier) {} /** * (PHP 5, CUBRID >= 8.4.0)
* Get auto-commit mode of the connection * @link https://php.net/manual/en/function.cubrid-get-autocommit.php * @param resource $conn_identifier

* Connection identifier. *

* @return bool

* TRUE, if autocommit is set to true. FALSE otherwise. * NULL on error. *

*/ function cubrid_get_autocommit($conn_identifier) {} /** * (PHP 5, CUBRID >= 8.3.0)
* Return the current CUBRID connection charset * @link https://secure.php.net/manual/en/function.cubrid-get-charset.php * @param resource $conn_identifier

* Connection identifier. *

* @return string

* A string that represents the CUBRID connection charset; on success. * FALSE on failure. *

*/ function cubrid_get_charset($conn_identifier) {} /** * (PHP 5, CUBRID >= 8.4.0)
* Set auto-commit mode of the connection * @link https://php.net/manual/en/function.cubrid-set-autocommit.php * @param resource $conn_identifier

* Connection identifier. *

* @param bool $mode

* Auto-commit mode. The following constants can be used: * CUBRID_AUTOCOMMIT_FALSE, CUBRID_AUTOCOMMIT_TRUE *

* @return bool

* TRUE, when process is successful. FALSE, when * process is unsuccessful. *

*/ function cubrid_set_autocommit($conn_identifier, $mode) {} /** * (PHP 5, CUBRID >= 8.3.1)
* Get db name from results of cubrid_list_dbs * @link https://php.net/manual/en/function.cubrid-db-name.php * @param array $result

* The result pointer from a call to cubrid_list_dbs. *

* @param int $index

* The index into the result set. *

* @return string

* the database name on success, and false on failure. If false * is returned, use cubrid_error() to determine the nature * of the error. *

*/ function cubrid_db_name($result, $index) {} /** * (PHP 5, CUBRID >= 8.3.1)
* Get result data * @link https://php.net/manual/en/function.cubrid-db-parameter.php * @param resource $conn_identifier

* The CUBRID connection. If the connection identifier is not specified, * the last link opened by cubrid_connect() is assumed. *

* @return array

* An associative array with CUBRID database * parameters; on success. FALSE on failure. *

*/ function cubrid_db_parameter($conn_identifier) {} /** * (PHP 5, CUBRID >= 8.4.0)
* Sets the CUBRID database parameters * @link https://php.net/manual/en/function.cubrid-set-db-parameter.php * @param resource $conn_identifier

* The CUBRID connection. If the connection identifier is not specified, * the last link opened by cubrid_connect() is assumed. *

* @param int $param_type

* Database parameter type. Can be PARAM_ISOLATION_LEVEL, * or PARAM_LOCK_TIMEOUT. *

* @param int $param_value

* Isolation level value (1-6) or lock timeout (in seconds) value. *

* @return bool

* TRUE on success. FALSE on failure. *

*/ function cubrid_set_db_parameter($conn_identifier, $param_type, $param_value) {} /** * (PHP 5, CUBRID >= 8.4.1)
* Get the query timeout value of the request * @link https://php.net/manual/en/function.cubrid-get-query-timeout.php * @param resource $req_identifier

* Request identifier. *

* @return int

* Success: the query timeout value of the current request. * Units of msec. Failure: FALSE *

*/ function cubrid_get_query_timeout($req_identifier) {} /** * (PHP 5, CUBRID >= 8.4.1)
* Set the query timeout value of the request * @link https://php.net/manual/en/function.cubrid-set-query-timeout.php * @param resource $req_identifier

* Request identifier. *

* @param int $timeout

* Timeout time, unit of msec. *

* @return bool

* TRUE, when process is successful. FALSE, when * process is unsuccessful. *

*/ function cubrid_set_query_timeout($req_identifier, $timeout) {} /** * (PHP 5, CUBRID >= 8.3.0)
* Get the class name using OID * @link https://php.net/manual/en/function.cubrid-tablename.php * @param resource $conn_identifier

* Connection identifier. *

* @param string $oid

* OID of the instance that you want to check the existence. * To get the current OID of the request, use * cubrid_current_oid() function. *

* @return string

* Class name when process is successful. * FALSE, when process is unsuccessful. *

*/ function cubrid_get_class_name($conn_identifier, $oid) {} /** * (PHP 5, CUBRID >= 8.3.0)
* Get a column using OID * @link https://php.net/manual/en/function.cubrid-get.php * @param resource $conn_identifier

* Connection identifier. *

* @param string $oid

* OID of the instance that you want to read. * To get the current OID of the request, use * cubrid_current_oid() function. *

* @param mixed $attr [optional]

* Name of the attribute that you want to read. *

* @return mixed

* Content of the requested attribute, * when process is successful; When attr is set with string * data type, the result is returned as a string; when attr is * set with array data type (0-based numerical array), then the * result is returned in associative array. When attr is omitted, * then all attributes are received in array form. *

*

* FALSE when process is unsuccessful or result is NULL * (If error occurs to distinguish empty string from NULL, * then it prints the warning message. You can check the * error by using cubrid_error_code()). *

*/ function cubrid_get($conn_identifier, $oid, $attr = null) {} /** * (PHP 5, CUBRID >= 8.3.0)
* Check whether the instance pointed by OID exists * @link https://php.net/manual/en/function.cubrid-is-instance.php * @param resource $conn_identifier

* Connection identifier. *

* @param string $oid

* OID of the instance that you want to check the existence. * To get the current OID of the request, use * cubrid_current_oid() function. *

* @return int

* 1, if such instance exists; 0, if such instance * does not exist; -1, in case of error *

*/ function cubrid_is_instance($conn_identifier, $oid) {} /** * (PHP 5, CUBRID >= 8.3.0)
* Commit a transaction * @link https://php.net/manual/en/function.cubrid-commit.php * @param resource $conn_identifier

* Connection identifier. *

* @return bool

* TRUE, when process is successful. FALSE, when * process is unsuccessful. *

*/ function cubrid_commit($conn_identifier) {} /** * (PHP 5, CUBRID >= 8.3.0)
* Roll back a transaction * @link https://php.net/manual/en/function.cubrid-rollback.php * @param resource $conn_identifier

* Connection identifier. *

* @return bool

* TRUE, when process is successful. FALSE, when * process is unsuccessful. *

*/ function cubrid_rollback($conn_identifier) {} /** * (PHP 5, CUBRID >= 8.3.0)
* Get OID of the current cursor location * @link https://php.net/manual/en/function.cubrid-commit.php * @param resource $req_identifier

* Request identifier. *

* @return string

* OID of current cursor location, when process * is successful. FALSE, when process is unsuccessful. *

*/ function cubrid_current_oid($req_identifier) {} /** * (PHP 5, CUBRID >= 8.3.0)
* Delete an instance using OID * @link https://php.net/manual/en/function.cubrid-commit.php * @param resource $conn_identifier

* Connection identifier. *

* @param string $oid

* OID of the instance that you want to delete. *

* @return bool

* TRUE, when process is successful. FALSE, * when process is unsuccessful. *

*/ function cubrid_drop($conn_identifier, $oid) {} /** * (PHP 5, CUBRID >= 8.3.0)
* Get the facility code of error * @link https://php.net/manual/en/function.cubrid-error-code-facility.php * @return int

* Facility code of the error code that occurred: * CUBRID_FACILITY_DBMS, CUBRID_FACILITY_CAS, * CUBRID_FACILITY_CCI, CUBRID_FACILITY_CLIENT *

*/ function cubrid_error_code_facility() {} /** * (PHP 5, CUBRID >= 8.3.1)
* Close BLOB/CLOB data * @link https://php.net/manual/en/function.cubrid-lob-close.php * @param array $lob_identifier_array

* LOB identifier array return from cubrid_lob_get(). *

* @return bool

* TRUE, when process is successful. * FALSE, when process is unsuccessful. *

*/ function cubrid_lob_close($lob_identifier_array) {} /** * (PHP 5, CUBRID >= 8.3.1)
* Export BLOB/CLOB data to file * @link https://php.net/manual/en/function.cubrid-lob-export.php * @param resource $conn_identifier

* Connection identifier. *

* @param resource $lob_identifier

* LOB identifier. *

* @param string $path_name

* Path name of the file. *

* @return bool

* TRUE, when process is successful. * FALSE, when process is unsuccessful. *

*/ function cubrid_lob_export($conn_identifier, $lob_identifier, $path_name) {} /** * (PHP 5, CUBRID >= 8.3.1)
* cubrid_lob_get() is used to get BLOB/CLOB meta info from * CUBRID database. CUBRID gets BLOB/CLOB by executing the SQL statement, * and returns all LOBs as a resource array. Be sure that the SQL * retrieves only one column and its data type is BLOB or CLOB. * Remember to use cubrid_lob_close() to release the LOBs if you * don't need it any more. * @link https://php.net/manual/en/function.cubrid-lob-get.php * @param resource $conn_identifier

* Connection identifier. *

* @param string $sql

* SQL statement to be executed. *

* @return array

* Return an array of LOB resources, when process * is successful. FALSE, when process is unsuccessful. *

*/ function cubrid_lob_get($conn_identifier, $sql) {} /** * (PHP 5, CUBRID >= 8.3.1)
* Read BLOB/CLOB data and send straight to browser * @link https://php.net/manual/en/function.cubrid-lob-send.php * @param resource $conn_identifier

* Connection identifier. *

* @param resource $lob_identifier

* LOB identifier. *

* @return bool

* TRUE, when process is successful. FALSE, when * process is unsuccessful. *

*/ function cubrid_lob_send($conn_identifier, $lob_identifier) {} /** * (PHP 5, CUBRID >= 8.3.1)
* Get BLOB/CLOB data size * @link https://php.net/manual/en/function.cubrid-lob-size.php * @param resource $lob_identifier

* LOB identifier. *

* @return string

* A string representing LOB data size, when * process is successful. FALSE, when process is unsuccessful. *

*/ function cubrid_lob_size($lob_identifier) {} /** * (PHP 5, CUBRID >= 8.4.1)
* Bind a lob object or a string as a lob object to a * prepared statement as parameters. * @link https://secure.php.net/manual/en/function.cubrid-lob2-bind.php * @param resource $req_identifier

* Reqeust identifier. *

* @param int $bind_index

* Location of binding parameters. It starts with 1. *

* @param mixed $bind_value

* Actual value for binding. *

* @param string $bind_value_type [optional]

* It must be "BLOB" or "CLOB" and it won't be case-sensitive. * If it not be given, the default value is "BLOB". *

* @return bool

* TRUE, when process is successful. * FALSE, when process is unsuccessful. *

*/ function cubrid_lob2_bind($req_identifier, $bind_index, $bind_value, $bind_value_type = null) {} /** * (PHP 5, CUBRID >= 8.4.1)
* Close BLOB/CLOB data * @link https://php.net/manual/en/function.cubrid-lob2-close.php * @param resource $lob_identifier

* Lob identifier as a result of cubrid_lob2_new() * or get from the result set. *

* @return bool

* TRUE, on success. * FALSE, on failure. *

*/ function cubrid_lob2_close($lob_identifier) {} /** * (PHP 5, CUBRID >= 8.4.1)
* Export the lob object to a file. * @link https://php.net/manual/en/function.cubrid-lob2-export.php * @param resource $lob_identifier

* Lob identifier as a result of cubrid_lob2_new() or get * from the result set. *

* @param string $file_name

* File name you want to store BLOB/CLOB data. * It also supports the path of the file. *

* @return bool

* TRUE if the process is successful and FALSE for failure. *

*/ function cubrid_lob2_export($lob_identifier, $file_name) {} /** * (PHP 5, CUBRID >= 8.4.1)
* Import the lob object from a file. * @link https://php.net/manual/en/function.cubrid-lob2-import.php * @param resource $lob_identifier

* Lob identifier as a result of cubrid_lob2_new() or get * from the result set. *

* @param string $file_name

* File name you want to import BLOB/CLOB data. * It also supports the path of the file. *

* @return bool

* TRUE if the process is successful and FALSE for failure. *

*/ function cubrid_lob2_import($lob_identifier, $file_name) {} /** * (PHP 5, CUBRID >= 8.4.1)
* Create a lob object. * @link https://php.net/manual/en/function.cubrid-lob2-new.php * @param resource $conn_identifier [optional]

* Connection identifier. If the connection identifier is * not specified, the last connection opened by * cubrid_connect() or cubrid_connect_with_url() is assumed. *

* @param string $type [optional]

* It may be "BLOB" or "CLOB", it won't be case-sensitive. * The default value is "BLOB". *

* @return resource|false

* Lob identifier when it is successful. FALSE on failure. *

*/ function cubrid_lob2_new($conn_identifier = null, $type = "BLOB") {} /** * (PHP 5, CUBRID >= 8.4.1)
* Read from BLOB/CLOB data. * @link https://php.net/manual/en/function.cubrid-lob2-read.php * @param resource $lob_identifier

* Lob identifier as a result of cubrid_lob2_new() or get * from the result set. *

* @param int $len

* Length from buffer you want to read from the lob data. *

* @return string

* Returns the contents as a string. * FALSE when there is no more data. * NULL on failure. *

*/ function cubrid_lob2_read($lob_identifier, $len) {} /** * (PHP 5, CUBRID >= 8.4.1)
* Move the cursor of a lob object. * @link https://php.net/manual/en/function.cubrid-lob2-seek64.php * @param resource $lob_identifier

* Lob identifier as a result of cubrid_lob2_new() or get * from the result set. *

* @param string $offset

* Number of units you want to move the cursor. *

* @param int $origin [optional]

* This parameter can be the following values: *

* * @return bool

* TRUE if the process is successful and FALSE for failure. *

*/ function cubrid_lob2_seek64($lob_identifier, $offset, $origin = CUBRID_CURSOR_CURRENT) {} /** * (PHP 5, CUBRID >= 8.4.1)
* Move the cursor of a lob object. * @link https://php.net/manual/en/function.cubrid-lob2-seek.php * @param resource $lob_identifier

* Lob identifier as a result of cubrid_lob2_new() or get * from the result set. *

* @param int $offset

* Number of units you want to move the cursor. *

* @param int $origin [optional]

* This parameter can be the following values: *

* * @return bool

* TRUE if the process is successful and FALSE for failure. *

*/ function cubrid_lob2_seek($lob_identifier, $offset, $origin = CUBRID_CURSOR_CURRENT) {} /** * (PHP 5, CUBRID >= 8.4.1)
* Get a lob object's size. * @link https://php.net/manual/en/function.cubrid-lob2-size64.php * @param resource $lob_identifier

* Lob identifier as a result of cubrid_lob2_new() or get * from the result set. *

* @return string

* It will return the size of the LOB object as a string * when it processes successfully. FALSE on failure. *

*/ function cubrid_lob2_size64($lob_identifier) {} /** * (PHP 5, CUBRID >= 8.4.1)
* Get a lob object's size. * @link https://php.net/manual/en/function.cubrid-lob2-size.php * @param resource $lob_identifier

* Lob identifier as a result of cubrid_lob2_new() or get * from the result set. *

* @return int

* It will return the size of the LOB object as a string * when it processes successfully. FALSE on failure. *

*/ function cubrid_lob2_size($lob_identifier) {} /** * (PHP 5, CUBRID >= 8.4.1)
* Tell the cursor position of the LOB object. * @link https://php.net/manual/en/function.cubrid-lob2-tell64.php * @param resource $lob_identifier

* Lob identifier as a result of cubrid_lob2_new() or get * from the result set. *

* @return string

* It will return the cursor position on the LOB object as a * string when it processes successfully. FALSE on failure. *

*/ function cubrid_lob2_tell64($lob_identifier) {} /** * (PHP 5, CUBRID >= 8.4.1)
* Tell the cursor position of the LOB object. * @link https://php.net/manual/en/function.cubrid-lob2-tell.php * @param resource $lob_identifier

* Lob identifier as a result of cubrid_lob2_new() or get * from the result set. *

* @return int

* It will return the cursor position on the LOB object as a * string when it processes successfully. FALSE on failure. *

*/ function cubrid_lob2_tell($lob_identifier) {} /** * (PHP 5, CUBRID >= 8.3.0)
* Set a read lock on the given OID * @link https://php.net/manual/en/function.cubrid-lock-read.php * @param resource $conn_identifier

* Connection identifier. *

* @param string $oid

* OID of the instance that you want to put read lock on. *

* @return bool

* TRUE, when process is successful. FALSE, when * process is unsuccessful. *

*/ function cubrid_lock_read($conn_identifier, $oid) {} /** * (PHP 5, CUBRID >= 8.3.0)
* Set a write lock on the given OID * @link https://php.net/manual/en/function.cubrid-lock-write.php * @param resource $conn_identifier

* Connection identifier. *

* @param string $oid

* OID of the instance that you want to put write lock on. *

* @return bool

* TRUE, when process is successful. FALSE, when * process is unsuccessful. *

*/ function cubrid_lock_write($conn_identifier, $oid) {} /** * (PHP 5, CUBRID >= 8.3.0)
* Move the cursor in the result * @link https://php.net/manual/en/function.cubrid-move-cursor.php * @param resource $req_identifier

* Request identifier. *

* @param int $offset

* Number of units you want to move the cursor. *

* @param int $origin [optional]

* Location where you want to move the cursor from * CUBRID_CURSOR_FIRST, CUBRID_CURSOR_CURRENT, CUBRID_CURSOR_LAST. *

* @return int

* CUBRID_CURSOR_SUCCESS, when process is successful. * CUBRID_NO_MORE_DATA, when it is not a valid cursor location. * CUBRID_CURSOR_ERROR, in case of error. *

*/ function cubrid_move_cursor($req_identifier, $offset, $origin = CUBRID_CURSOR_CURRENT) {} /** * (PHP 5, CUBRID >= 8.4.0)
* Get result of next query when executing multiple SQL statements * @link https://php.net/manual/en/function.cubrid-next-result.php * @param resource $result

* result comes from a call to cubrid_execute(). *

* @return bool

* TRUE, when process is successful. FALSE, when * process is unsuccessful. *

*/ function cubrid_next_result($result) {} /** * (PHP 5, CUBRID >= 8.3.0)
* Prepare an SQL statement for execution * @link https://php.net/manual/en/function.cubrid-prepare.php * @param resource $conn_identifier

* Connection identifier. *

* @param string $prepare_stmt

* Prepare query. *

* @param int $option [optional]

* OID return option CUBRID_INCLUDE_OID. *

* @return resource|false

* Request identifier, if process is successful; * FALSE, if process is unsuccessful. *

*/ function cubrid_prepare($conn_identifier, $prepare_stmt, $option = 0) {} /** * (PHP 5, CUBRID >= 8.3.0)
* Update a column using OID * @link https://php.net/manual/en/function.cubrid-put.php * @param resource $conn_identifier

* Connection identifier. *

* @param string $oid

* OID of the instance that you want to update. *

* @param string $attr [optional]

* Name of the attribute that you want to update. *

* @param mixed $value

* New value that you want to assign to the attribute. *

* @return bool

* TRUE, when process is successful. * FALSE, when process is unsuccessful. *

*/ function cubrid_put($conn_identifier, $oid, $attr = null, $value) {} /** * (PHP 5, CUBRID >= 8.3.0)
* Get the requested schema information * @link https://php.net/manual/en/function.cubrid-schema.php * @param resource $conn_identifier

* Connection identifier. *

* @param int $schema_type

* Schema data that you want to know. *

* @param string $class_name [optional]

* Table you want to know the schema of. *

* @param string $attr_name [optional]

* Attribute you want to know the schema of. *

* @return array

* Array containing the schema information, * when process is successful; FALSE, when process is * unsuccessful. *

*/ function cubrid_schema($conn_identifier, $schema_type, $class_name = null, $attr_name = null) {} /** * (PHP 5, CUBRID >= 8.3.0)
* Delete an element from sequence type column using OID * @link https://php.net/manual/en/function.cubrid-seq-drop.php * @param resource $conn_identifier

* Connection identifier. *

* @param string $oid

* OID of the instance you want to work with. *

* @param string $attr_name

* Name of the attribute that you want to delete an element from. *

* @param int $index

* Index of the element that you want to delete (1-based). *

* @return bool

* TRUE, when process is successful. FALSE, * when process is unsuccessful. *

*/ function cubrid_seq_drop($conn_identifier, $oid, $attr_name, $index) {} /** * (PHP 5, CUBRID >= 8.3.0)
* Insert an element to a sequence type column using OID * @link https://php.net/manual/en/function.cubrid-seq-insert.php * @param resource $conn_identifier

* Connection identifier. *

* @param string $oid

* OID of the instance you want to work with. *

* @param string $attr_name

* Name of the attribute you want to insert an instance to. *

* @param int $index

* Location of the element, you want to insert the element to (1-based). *

* @param string $seq_element

* Content of the element that you want to insert. *

* @return bool

* TRUE, when process is successful. FALSE, * when process is unsuccessful. *

*/ function cubrid_seq_insert($conn_identifier, $oid, $attr_name, $index, $seq_element) {} /** * (PHP 5, CUBRID >= 8.3.0)
* Update the element value of sequence type column using OID * @link https://php.net/manual/en/function.cubrid-seq-put.php * @param resource $conn_identifier

* Connection identifier. *

* @param string $oid

* OID of the instance you want to work with. *

* @param string $attr_name

* Name of the attribute that you want to update an element. *

* @param int $index

* Index of the element that you want to delete (1-based). *

* @param string $seq_element

* New content that you want to use for the update. *

* @return bool

* TRUE, when process is successful. FALSE, * when process is unsuccessful. *

*/ function cubrid_seq_put($conn_identifier, $oid, $attr_name, $index, $seq_element) {} /** * (PHP 5, CUBRID >= 8.3.0)
* Insert a single element to set type column using OID * @link https://php.net/manual/en/function.cubrid-seq-add.php * @param resource $conn_identifier

* Connection identifier. *

* @param string $oid

* OID of the instance you want to work with. *

* @param string $attr_name

* Name of the attribute you want to insert an element. *

* @param string $seq_element

* Content of the element that you want to insert. *

* @return bool

* TRUE, when process is successful. FALSE, * when process is unsuccessful. *

*/ function cubrid_seq_add($conn_identifier, $oid, $attr_name, $seq_element) {} /** * (PHP 5, CUBRID >= 8.3.0)
* Insert a single element to set type column using OID * @link https://php.net/manual/en/function.cubrid-set-add.php * @param resource $conn_identifier

* Connection identifier. *

* @param string $oid

* OID of the instance you want to work with. *

* @param string $attr_name

* Name of the attribute you want to insert an element. *

* @param string $set_element

* Content of the element you want to insert. *

* @return bool

* TRUE, when process is successful. FALSE, * when process is unsuccessful. *

*/ function cubrid_set_add($conn_identifier, $oid, $attr_name, $set_element) {} /** * (PHP 5, CUBRID >= 8.3.0)
* Delete an element from set type column using OID * @link https://php.net/manual/en/function.cubrid-set-drop.php * @param resource $conn_identifier

* Connection identifier. *

* @param string $oid

* OID of the instance you want to work with. *

* @param string $attr_name

* Name of the attribute you want to delete an element from. *

* @param string $set_element

* Content of the element you want to delete. *

* @return bool

* TRUE, when process is successful. FALSE, * when process is unsuccessful. *

*/ function cubrid_set_drop($conn_identifier, $oid, $attr_name, $set_element) {} /** * (PHP 5, CUBRID >= 8.3.0)
* Get the CUBRID PHP module's version * @link https://php.net/manual/en/function.cubrid-version.php * @return string

* Version information (eg. "8.4.1.0001"). *

*/ function cubrid_version() {} /** * Columns are returned into the array having a numerical index to the * fields. This index starts with 0, the first field in the result. * @link https://php.net/manual/en/cubrid.constants.php */ define('CUBRID_NUM', 1); /** * Columns are returned into the array having the fieldname as the array * index. * @link https://php.net/manual/en/cubrid.constants.php */ define('CUBRID_ASSOC', 2); /** * Columns are returned into the array having both a numerical index * and the fieldname as the array index. * @link https://php.net/manual/en/cubrid.constants.php */ define('CUBRID_BOTH', 3); /** * Get query result as an object. * @link https://php.net/manual/en/cubrid.constants.php */ define('CUBRID_OBJECT', 4); /** * Determine whether to get OID during query execution. * @link https://php.net/manual/en/cubrid.constants.php */ define('CUBRID_INCLUDE_OID', 1); /** * Execute the query in asynchronous mode. * @link https://php.net/manual/en/cubrid.constants.php */ define('CUBRID_ASYNC', 2); /** * Execute the query in synchronous mode. * This flag must be set when executing multiple SQL statements. * @link https://php.net/manual/en/cubrid.constants.php */ define('CUBRID_EXEC_QUERY_ALL', 4); /** * Returned value of cubrid_move_cursor() function * in case of success. * @link https://php.net/manual/en/cubrid.constants.php */ define('CUBRID_CURSOR_SUCCESS', 1); /** * Returned value of cubrid_move_cursor() function in case * of failure. * @link https://php.net/manual/en/cubrid.constants.php */ define('CUBRID_NO_MORE_DATA', 0); /** * Returned value of cubrid_move_cursor() function in case * of failure. * @link https://php.net/manual/en/cubrid.constants.php */ define('CUBRID_CURSOR_ERROR', -1); /** * Enable the auto-commit mode. * @link https://php.net/manual/en/cubrid.constants.php */ define('CUBRID_AUTOCOMMIT_TRUE', 1); /** * Disable the auto-commit mode. * @link https://php.net/manual/en/cubrid.constants.php */ define('CUBRID_AUTOCOMMIT_FALSE', 0); /** * Move current cursor to the first position in the result. * @link https://php.net/manual/en/cubrid.constants.php */ define('CUBRID_CURSOR_FIRST', 0); /** * Move current cursor as a default value if the origin is * not specified. * @link https://php.net/manual/en/cubrid.constants.php */ define('CUBRID_CURSOR_CURRENT', 1); /** * Move current cursor to the last position in the result. * @link https://php.net/manual/en/cubrid.constants.php */ define('CUBRID_CURSOR_LAST', 2); // End of cubrid v.1.0