diff --git a/reference/cubrid/configure.xml b/reference/cubrid/configure.xml
index c8ee7ec276..126ba21a57 100644
--- a/reference/cubrid/configure.xml
+++ b/reference/cubrid/configure.xml
@@ -3,54 +3,9 @@
&reftitle.install;
-
- From the CUBRID homepage (CUBRID), download the PHP module.
-
-
- Installing PHP for Windows
-
- Create a directory named CUBRID in the directory where PHP is installed, and then copy the cubrid_err.msg file. Also copy the .dll file of the cubrid_php you have just downloaded to the php extension directory (default C:\PHP\ext - see extension_dir from php.ini). If you download CUBRID PHP version 5.1.4, add required settings as shown in the example below by editing the php.ini file.
-
-
-
-
-
- Once the configuration is complete, restart the web server. If you can see the CUBRID information as shown below when you check the PHP configuration using the phpinfo() function of PHP, it means that the installation was successful.
-
-
-
- Installing PHP for Linux
-
- Unlike Windows, Linux provides its source code. Download the source code from the CUBRID homepage (CUBRID), and install it by following the INSTALL file of the compressed file. Also in the Linux version, edit and save the php.ini file, and then restart the web server.
-
-
-
-
-
- Check the configuration using phpinfo() function.
-
-
-
-
-
- As with the Windows version of PHP, if you can see the CUBRID information on the web browser, it means that the installation was successful.
-
-
-
+
+ Read "CUBRID 2008 R3.0 PHP Library Build Guide" to get more details.
+
diff --git a/reference/cubrid/constants.xml b/reference/cubrid/constants.xml
index 99d598113f..c30f6dffb8 100644
--- a/reference/cubrid/constants.xml
+++ b/reference/cubrid/constants.xml
@@ -292,6 +292,28 @@
+
+
+ CUBRID_SCH_DIRECT_SUPER_CLASS
+ (integer)
+
+
+
+ Is a schema type used for cubrid_schema function.
+
+
+
+
+
+ CUBRID_SCH_ATTR_PRIMARY_KEY
+ (integer)
+
+
+
+ Is a schema type used for cubrid_schema function.
+
+
+ CUBRID_FACILITY_DBMS
diff --git a/reference/cubrid/functions/cubrid-affected-rows.xml b/reference/cubrid/functions/cubrid-affected-rows.xml
index 3ca0d8ede7..e87bec2cde 100644
--- a/reference/cubrid/functions/cubrid-affected-rows.xml
+++ b/reference/cubrid/functions/cubrid-affected-rows.xml
@@ -11,7 +11,7 @@
&reftitle.description;
intcubrid_affected_rows
- intreq_handle
+ resourcereq_identifier
The cubrid_affected_rows function is used to get the number of rows affected by the SQL sentence (INSERT, DELETE, UPDATE).
@@ -23,8 +23,8 @@
- req_handle
- Request handle.
+ req_identifier
+ Request identifier.
@@ -36,7 +36,7 @@
Number of rows affected by the SQL sentence, when process is successful.
- -1, when process is unsuccessful.
+ -1, when SQL sentence is not INSERT, DELETE or UPDATE.
diff --git a/reference/cubrid/functions/cubrid-bind.xml b/reference/cubrid/functions/cubrid-bind.xml
index addd6b9aec..9712a7914b 100644
--- a/reference/cubrid/functions/cubrid-bind.xml
+++ b/reference/cubrid/functions/cubrid-bind.xml
@@ -11,13 +11,16 @@
&reftitle.description;
intcubrid_bind
- intreq_handle
+ resourcereq_identifierintbind_indexstringbind_valuestringbind_value_type
- The cubrid_bind function is used to bind values in a cubrid_prepare variable, a various types in PHP and corresponding types in SQL.
+ The cubrid_bind function is used to bind values in a cubrid_prepare variable, a various types in PHP and corresponding types in SQL. If bind_value_type is not given, string will be the default.
+
+
+ Note: Collection type (set, multiset or sequence) value can't be bind now.
@@ -26,8 +29,8 @@
- req_handle
- Request handle as a result of cubrid_prepare.
+ req_identifier
+ Request identifier as a result of cubrid_prepare.bind_index
@@ -39,7 +42,7 @@
bind_index
- A type of the value to bind. (It is omitted by default. Thus, system internally converts and matches the corresponding types if it is omitted. However, you need to specify the exact type of the value as an argument when they are either NCHAR or BIT).
+ 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 either NCHAR or BIT).
diff --git a/reference/cubrid/functions/cubrid-close-prepare.xml b/reference/cubrid/functions/cubrid-close-prepare.xml
index f50a4cadd3..bb8f54cf8b 100644
--- a/reference/cubrid/functions/cubrid-close-prepare.xml
+++ b/reference/cubrid/functions/cubrid-close-prepare.xml
@@ -11,10 +11,10 @@
&reftitle.description;
intcubrid_close_prepare
- intreq_handle
+ resourcereq_identifier
- The cubrid_close_prepare function closes the request handle given by the req_handle argument, and releases the memory region related to the handle.
+ The cubrid_close_prepare function closes the request handle given by the req_identifier argument, and releases the memory region related to the handle.
@@ -23,8 +23,8 @@
- req_handle
- Request handle.
+ req_identifier
+ Request identifier.
@@ -97,4 +97,4 @@ End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
diff --git a/reference/cubrid/functions/cubrid-close-request.xml b/reference/cubrid/functions/cubrid-close-request.xml
index 913dc59674..c17a0ada13 100644
--- a/reference/cubrid/functions/cubrid-close-request.xml
+++ b/reference/cubrid/functions/cubrid-close-request.xml
@@ -11,10 +11,10 @@
&reftitle.description;
intcubrid_close_request
- intreq_handle
+ resourcereq_identifier
- The cubrid_close_request function closes the request handle given by the req_handle argument, and releases the memory region related to the handle.
+ The cubrid_close_request function closes the request handle given by the req_identifier argument, and releases the memory region related to the handle.
@@ -23,8 +23,8 @@
- req_handle
- Request handle.
+ req_identifier
+ Request identifier.
@@ -97,4 +97,4 @@ End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
diff --git a/reference/cubrid/functions/cubrid-col-get.xml b/reference/cubrid/functions/cubrid-col-get.xml
index fbe041889b..a2c53e3624 100644
--- a/reference/cubrid/functions/cubrid-col-get.xml
+++ b/reference/cubrid/functions/cubrid-col-get.xml
@@ -10,8 +10,8 @@
&reftitle.description;
- intcubrid_col_get
- intconn_handle
+ arraycubrid_col_get
+ resourceconn_identifierstringoidstringattr_name
@@ -25,8 +25,8 @@
- conn_handle
- Connection handle.
+ conn_identifier
+ Connection identifier.oid
diff --git a/reference/cubrid/functions/cubrid-col-size.xml b/reference/cubrid/functions/cubrid-col-size.xml
index b05456994f..88d4135a2e 100644
--- a/reference/cubrid/functions/cubrid-col-size.xml
+++ b/reference/cubrid/functions/cubrid-col-size.xml
@@ -11,7 +11,7 @@
&reftitle.description;
intcubrid_col_size
- intconn_handle
+ resourceconn_identifierstringoidstringattr_name
@@ -25,8 +25,8 @@
- conn_handle
- Connection handle.
+ conn_identifier
+ Connection identifier.oid
diff --git a/reference/cubrid/functions/cubrid-column-names.xml b/reference/cubrid/functions/cubrid-column-names.xml
index f275304c8e..8cd638a4b7 100644
--- a/reference/cubrid/functions/cubrid-column-names.xml
+++ b/reference/cubrid/functions/cubrid-column-names.xml
@@ -10,11 +10,11 @@
&reftitle.description;
- mixedcubrid_column_names
- intreq_handle
+ arraycubrid_column_names
+ resourcereq_identifier
- The cubrid_column_names function is used to get the column names of the query result by using req_handle.
+ The cubrid_column_names function is used to get the column names of the query result by using req_identifier.
@@ -23,8 +23,8 @@
- req_handle
- Request handle.
+ req_identifier
+ Request identifier.
@@ -33,7 +33,7 @@
&reftitle.returnvalues;
- array containing column names, when process is successful.
+ Array of string which containing column names, when process is successful.
&false;, when process is unsuccessful.
diff --git a/reference/cubrid/functions/cubrid-column-types.xml b/reference/cubrid/functions/cubrid-column-types.xml
index c56a273ab7..413a9fd3c3 100644
--- a/reference/cubrid/functions/cubrid-column-types.xml
+++ b/reference/cubrid/functions/cubrid-column-types.xml
@@ -10,11 +10,11 @@
&reftitle.description;
- mixedcubrid_column_types
- intreq_handle
+ arraycubrid_column_types
+ resourcereq_identifier
- The cubrid_column_types function gets column types of query results by using req_handle.
+ The cubrid_column_types function gets column types of query results by using req_identifier.
@@ -23,8 +23,8 @@
- req_handle
- Request handle.
+ req_identifier
+ Request identifier.
@@ -33,7 +33,7 @@
&reftitle.returnvalues;
- Array containing column types, when process is successful.
+ Array of string which containing column types, when process is successful.
&false;, when process is unsuccessful.
diff --git a/reference/cubrid/functions/cubrid-commit.xml b/reference/cubrid/functions/cubrid-commit.xml
index 34cd4ff646..b21223e719 100644
--- a/reference/cubrid/functions/cubrid-commit.xml
+++ b/reference/cubrid/functions/cubrid-commit.xml
@@ -11,7 +11,7 @@
&reftitle.description;
intcubrid_commit
- intconn_handle
+ resourceconn_identifier
The cubrid_commit function is used to execute commit on the transaction pointed by conn_handle, currently on progress. Connection to the server is closed after the cubrid_commit function is called; the connection handle is still valid, however.
@@ -22,8 +22,8 @@
- conn_handle
- Connection handle.
+ conn_identifier
+ Connection identifier.
diff --git a/reference/cubrid/functions/cubrid-connect-with-url.xml b/reference/cubrid/functions/cubrid-connect-with-url.xml
new file mode 100644
index 0000000000..7a516cb31c
--- /dev/null
+++ b/reference/cubrid/functions/cubrid-connect-with-url.xml
@@ -0,0 +1,156 @@
+
+
+
+
+
+ cubrid_connect_with_url
+ Is used to establish the environment for connecting to your server
+
+
+
+ &reftitle.description;
+
+ resourcecubrid_connect_with_url
+ stringconn_url
+ stringuserid
+ stringpasswd
+
+
+ The cubrid_connect_with_url function is used to establish the environment for connecting to your server by using connection information passed with an url string argument. If the HA feature is enabled in CUBRID, you must specify the connection information of the standby server, which is used for failover when failure occurs, in the url string argument of this function. If the user name and password is not given, then the "PUBLIC" connection will be made by default.
+
+
+ <url> ::= cci:CUBRID:<host>:<db_name>:<db_user>:<db_password>:[?<properties>]
+ <properties> ::= <property> [&<propertygt;]
+ <alternative_hosts> ::= <standby_broker1_host>:<port> [,<standby_broker2_host>:<port>]
+ <host> := HOSTNAME | IP_ADDR
+ <time> := SECOND
+
+
+
+ host : A host name or IP address of the master database
+ db_name : A name of the database
+ db_user : A name of the database user
+ db_password : A database user password
+ alhosts: Specifies the broker information of the standby server, which is used for failover when it is impossible to connect to the active server. You can specify multiple brokers for failover, and the connection to the brokers is attempted in the order listed in alhosts
+ rctime : An interval between the attempts to connect to the active broker in which failure occurred. After a failure occurs, the system connects to the broker specified by althosts (failover), terminates the transaction, and then attempts to connect to the active broker of the master database at every rctime. The default value is 600 seconds.
+
+
+
+
+
+
+ &reftitle.parameters;
+
+
+
+ conn_url
+ A character string that contains server connection information.
+
+
+ userid
+ User name for the database.
+
+
+ passwd
+ User password.
+
+
+
+
+
+
+ &reftitle.returnvalues;
+
+ Connection identifier, when process is successful.
+
+
+ &false;, when process is unsuccessful.
+
+
+
+
+ &reftitle.examples;
+
+ cubrid_connect_with_url url without properties example
+
+
+]]>
+
+
+
+
+ cubrid_connect_with_url url with properties example
+
+
+]]>
+
+
+
+
+
+
+ &reftitle.seealso;
+
+
+ cubrid_connect
+ cubrid_disconnect
+
+
+
+
+
+
+
diff --git a/reference/cubrid/functions/cubrid-connect.xml b/reference/cubrid/functions/cubrid-connect.xml
index dc205351c1..0ad24dec30 100644
--- a/reference/cubrid/functions/cubrid-connect.xml
+++ b/reference/cubrid/functions/cubrid-connect.xml
@@ -10,7 +10,7 @@
&reftitle.description;
- intcubrid_connect
+ resourcecubrid_connectstringhostintportstringdbname
@@ -31,11 +31,11 @@
host
- Host name of CAS server.
+ Host name or IP address of CAS server.port
- Port number of CAS server.
+ Port number of CAS server (BROKER_PORT configured in $CUBRID/conf/cubrid_broker.conf).dbname
@@ -56,7 +56,7 @@
&reftitle.returnvalues;
- Connection handle, when process is successful.
+ Connection identifier, when process is successful.
&false;, when process is unsuccessful.
diff --git a/reference/cubrid/functions/cubrid-current-oid.xml b/reference/cubrid/functions/cubrid-current-oid.xml
index 26a7dc9a68..98d7c9e65e 100644
--- a/reference/cubrid/functions/cubrid-current-oid.xml
+++ b/reference/cubrid/functions/cubrid-current-oid.xml
@@ -10,11 +10,11 @@
&reftitle.description;
- mixedcubrid_current_oid
- intreq_handle
+ stringcubrid_current_oid
+ resourcereq_identifier
- The cubrid_current_oid function is used to get the oid of the current cursor location from the query result. To use cubrid_current_oid, the query executed must be a updatable query, and the CUBRID_ INCLUDE_OID option must be included during the query execution.
+ The cubrid_current_oid function is used to get the oid of the current cursor location from the query result. To use cubrid_current_oid, the query executed must be a updatable query, and the CUBRID_INCLUDE_OID option must be included during the query execution.
@@ -23,8 +23,8 @@
- req_handle
- Request handle.
+ req_identifier
+ Request identifier.
diff --git a/reference/cubrid/functions/cubrid-data-seek.xml b/reference/cubrid/functions/cubrid-data-seek.xml
index 3503f74e55..6427c22184 100644
--- a/reference/cubrid/functions/cubrid-data-seek.xml
+++ b/reference/cubrid/functions/cubrid-data-seek.xml
@@ -11,7 +11,7 @@
&reftitle.description;
boolcubrid_data_seek
- intresult
+ resourcereq_identifierintrow_number
@@ -24,8 +24,8 @@
- result
- This is the result handle that is evaluated. This result is obtained by a call to cubrid_execute.
+ req_identifier
+ This is the request identifier.row_number
@@ -38,10 +38,13 @@
&reftitle.returnvalues;
- &true; on success.
+ CUBRID_CURSOR_SUCCESS, on success.
-
- &false; on failure.
+
+ CUBRID_NO_MORE_DATA, when it is not a valid cursor location.
+
+
+ &false; on CAS error, row count is 0, or invalid offset.
diff --git a/reference/cubrid/functions/cubrid-disconnect.xml b/reference/cubrid/functions/cubrid-disconnect.xml
index d1cbf10a6b..d737b5bbac 100644
--- a/reference/cubrid/functions/cubrid-disconnect.xml
+++ b/reference/cubrid/functions/cubrid-disconnect.xml
@@ -11,7 +11,7 @@
&reftitle.description;
intcubrid_disconnect
- intconn_handle
+ resourceconn_identifier
The cubrid_disconnect function ends the transaction currently on process, closes the connection handle and disconnects from server. If there exists any request handle not closed yet at this point, it will be closed.
@@ -23,8 +23,8 @@
- conn_handle
- Connection handle.
+ conn_identifier
+ Connection identifier.
diff --git a/reference/cubrid/functions/cubrid-drop.xml b/reference/cubrid/functions/cubrid-drop.xml
index db5e514115..8b6c5d52e3 100644
--- a/reference/cubrid/functions/cubrid-drop.xml
+++ b/reference/cubrid/functions/cubrid-drop.xml
@@ -11,7 +11,7 @@
&reftitle.description;
intcubrid_drop
- intconn_handle
+ resourceconn_identifierstringoid
@@ -24,8 +24,8 @@
- conn_handle
- Connection handle.
+ conn_identifier
+ Connection identifier.oid
diff --git a/reference/cubrid/functions/cubrid-execute.xml b/reference/cubrid/functions/cubrid-execute.xml
index 9c1bdb0030..b33e5b17b1 100644
--- a/reference/cubrid/functions/cubrid-execute.xml
+++ b/reference/cubrid/functions/cubrid-execute.xml
@@ -10,24 +10,24 @@
&reftitle.description;
- intcubrid_execute
- intconn_handle
+ resourcecubrid_execute
+ resourceconn_identifierstringSQLintoptionintcubrid_execute
- intrequest_handle
+ resourcerequest_identifierintoption
- The cubrid_execute function is used to execute the given SQL sentence. It executes the query by using conn_handle and SQL, and then returns the request handle created. It is used for simple execution of query, where the parameter binding is not needed. In addition, the cubrid_execute function is used to execute the prepared statement by means of cubrid_prepare and cubrid_bind. At this time, you need to specify arguments of request_handle and option.
+ The cubrid_execute function is used to execute the given SQL sentence. It executes the query by using conn_identifier and SQL, and then returns the request identifier created. It is used for simple execution of query, where the parameter binding is not needed. In addition, the cubrid_execute function is used to execute the prepared statement by means of cubrid_prepare and cubrid_bind. At this time, you need to specify arguments of request_identifier and option.
You can use the option argument to tell whether to receive oid of the row after the execution, and, whether to execute the query in asynchronous mode. You can use it by setting the CUBRID_INCLUDE_OID and CUBRID_ASYNC using bitwise or operator. If the both variables are not explicitly given, they are not selected by default.
- If the first argument is request_handle to execute the cubrid_prepare function, you can specify an option, CUBRID_ASYNC only.
+ If the first argument is request_identifier to execute the cubrid_prepare function, you can specify an option, CUBRID_ASYNC only.
@@ -36,8 +36,8 @@
- conn_handle
- Connection handle.
+ conn_identifier
+ Connection identifier.SQL
@@ -48,8 +48,8 @@
Query execution option CUBRID_INCLUDE_OID, CUBRID_ASYNC.
- request_handle
- cubrid_prepare handle.
+ request_identifier
+ cubrid_prepare identifier.
@@ -58,7 +58,7 @@
&reftitle.returnvalues;
- Request handle, when process is successful.
+ Request identifier, when process is successful and first param is conn_identifier; &true;, when process is successful and first argument is request_identifier.
&false;, when process is unsuccessful.
@@ -73,22 +73,35 @@
]]>
diff --git a/reference/cubrid/functions/cubrid-fetch-assoc.xml b/reference/cubrid/functions/cubrid-fetch-assoc.xml
index a90fe19fa8..5ed5a25cf2 100644
--- a/reference/cubrid/functions/cubrid-fetch-assoc.xml
+++ b/reference/cubrid/functions/cubrid-fetch-assoc.xml
@@ -11,7 +11,7 @@
&reftitle.description;
arraycubrid_fetch_assoc
- intresult
+ resourcereq_identifier
This function returns the associative array, that corresponds to the fetched row and, then, moves the internal data pointer ahead, or it returns FALSE when the end is reached.
@@ -23,8 +23,8 @@
- result
- This is the result handle that is evaluated. This result is obtained by a call to cubrid_execute.
+ req_identifier
+ This is the request identifier.
@@ -36,7 +36,7 @@
Associative array, when process is successful.
- &false; when the end is reached.
+ &false; when the end is reached, or error.
diff --git a/reference/cubrid/functions/cubrid-fetch-field.xml b/reference/cubrid/functions/cubrid-fetch-field.xml
index 2793c3bac8..0dadc948ec 100644
--- a/reference/cubrid/functions/cubrid-fetch-field.xml
+++ b/reference/cubrid/functions/cubrid-fetch-field.xml
@@ -11,7 +11,7 @@
&reftitle.description;
objectcubrid_fetch_field
- intresult
+ resourcereq_identifierintfield_offset = 0
@@ -65,8 +65,8 @@
- result
- This is the result handle that is evaluated. This result is obtained by a call to cubrid_execute.
+ req_identifier
+ This is the request identifier.field_offset
@@ -82,7 +82,7 @@
Object with certain properties of the specific column, when process is successful.
- &false; or -1 on failure.
+ &false; on failure.
diff --git a/reference/cubrid/functions/cubrid-fetch-lengths.xml b/reference/cubrid/functions/cubrid-fetch-lengths.xml
index 28ae49a1e9..9e1d17bd98 100644
--- a/reference/cubrid/functions/cubrid-fetch-lengths.xml
+++ b/reference/cubrid/functions/cubrid-fetch-lengths.xml
@@ -11,10 +11,10 @@
&reftitle.description;
arraycubrid_fetch_lengths
- intresult
+ resourcereq_identifier
- This function returns an array with the lengths of the values of each field from the current row of the result set or it returns FALSE on failure.
+ This function returns an numeric array with the lengths of the values of each field from the current row of the result set or it returns FALSE on failure.
@@ -23,8 +23,8 @@
- result
- This is the result handle that is evaluated. This result is obtained by a call to cubrid_execute.
+ req_identifier
+ This is the request identifier.
@@ -33,7 +33,7 @@
&reftitle.returnvalues;
- An array, when process is successful.
+ An numeric array, when process is successful.
&false; on failure.
diff --git a/reference/cubrid/functions/cubrid-fetch-object.xml b/reference/cubrid/functions/cubrid-fetch-object.xml
index 4cfa536e9c..cc7c8d64ad 100644
--- a/reference/cubrid/functions/cubrid-fetch-object.xml
+++ b/reference/cubrid/functions/cubrid-fetch-object.xml
@@ -11,7 +11,7 @@
&reftitle.description;
objectcubrid_fetch_object
- intresult
+ resourcereq_identifier
This function returns an object with the column names of the result set as properties. The values of these properties are extracted from the current row of the result.
@@ -23,8 +23,8 @@
- result
- This is the result handle that is evaluated. This result is obtained by a call to cubrid_execute.
+ req_identifier
+ This is the request identifier.
diff --git a/reference/cubrid/functions/cubrid-fetch-row.xml b/reference/cubrid/functions/cubrid-fetch-row.xml
index 155b8253c8..c387529707 100644
--- a/reference/cubrid/functions/cubrid-fetch-row.xml
+++ b/reference/cubrid/functions/cubrid-fetch-row.xml
@@ -11,7 +11,7 @@
&reftitle.description;
arraycubrid_fetch_row
- intresult
+ resourcereq_identifier
This function returns a numerical array with the values of the current row from the result set, starting from 0.
@@ -23,8 +23,8 @@
- result
- This is the result handle that is evaluated. This result is obtained by a call to cubrid_execute.
+ req_identifier
+ This is the request identifier.
diff --git a/reference/cubrid/functions/cubrid-fetch.xml b/reference/cubrid/functions/cubrid-fetch.xml
index 2b97184dea..6f71de73dd 100644
--- a/reference/cubrid/functions/cubrid-fetch.xml
+++ b/reference/cubrid/functions/cubrid-fetch.xml
@@ -11,7 +11,7 @@
&reftitle.description;
mixedcubrid_fetch
- intreq_handle
+ resourcereq_identifierinttype
@@ -24,8 +24,8 @@
- req_handle
- Request handle.
+ req_identifier
+ Request identifier.type
diff --git a/reference/cubrid/functions/cubrid-field-flags.xml b/reference/cubrid/functions/cubrid-field-flags.xml
index fecd93fba8..537500f1ea 100644
--- a/reference/cubrid/functions/cubrid-field-flags.xml
+++ b/reference/cubrid/functions/cubrid-field-flags.xml
@@ -11,7 +11,7 @@
&reftitle.description;
stringcubrid_field_flags
- intresult
+ resourcereq_identifierintfield_offset
@@ -24,8 +24,8 @@
- result
- This is the result handle that is evaluated. This result is obtained by a call to cubrid_execute.
+ req_identifier
+ This is the request identifier.field_offset
@@ -40,8 +40,11 @@
A string with flags, when process is successful.
-
- &false; on failure.
+
+ &false; when invalid field_offset value.
+
+
+ -1 if SQL sentence is not SELECT.
diff --git a/reference/cubrid/functions/cubrid-field-len.xml b/reference/cubrid/functions/cubrid-field-len.xml
index 4afb34dd5f..3abeb6d5d7 100644
--- a/reference/cubrid/functions/cubrid-field-len.xml
+++ b/reference/cubrid/functions/cubrid-field-len.xml
@@ -11,7 +11,7 @@
&reftitle.description;
intcubrid_field_len
- intresult
+ resourcereq_identifierintfield_offset
@@ -24,8 +24,8 @@
- result
- This is the result handle that is evaluated. This result is obtained by a call to cubrid_execute.
+ req_identifier
+ This is the request identifier.field_offset
diff --git a/reference/cubrid/functions/cubrid-field-name.xml b/reference/cubrid/functions/cubrid-field-name.xml
index 6137b23026..7e666b0d8f 100644
--- a/reference/cubrid/functions/cubrid-field-name.xml
+++ b/reference/cubrid/functions/cubrid-field-name.xml
@@ -11,7 +11,7 @@
&reftitle.description;
stringcubrid_field_name
- intresult
+ resourcereq_identifierintfield_offset
@@ -24,8 +24,8 @@
- result
- This is the result handle that is evaluated. This result is obtained by a call to cubrid_execute.
+ req_identifier
+ This is the request identifier.field_offset
diff --git a/reference/cubrid/functions/cubrid-field-seek.xml b/reference/cubrid/functions/cubrid-field-seek.xml
index 2a3cb45525..b211237564 100644
--- a/reference/cubrid/functions/cubrid-field-seek.xml
+++ b/reference/cubrid/functions/cubrid-field-seek.xml
@@ -11,7 +11,7 @@
&reftitle.description;
boolcubrid_field_seek
- intresult
+ resourcereq_identifierintfield_offset
@@ -24,8 +24,8 @@
- result
- This is the result handle that is evaluated. This result is obtained by a call to cubrid_execute.
+ req_identifier
+ This is the request identifier.field_offset
diff --git a/reference/cubrid/functions/cubrid-field-table.xml b/reference/cubrid/functions/cubrid-field-table.xml
index 88c0f8aa97..7edba0153c 100644
--- a/reference/cubrid/functions/cubrid-field-table.xml
+++ b/reference/cubrid/functions/cubrid-field-table.xml
@@ -11,7 +11,7 @@
&reftitle.description;
stringcubrid_field_table
- intresult
+ resourcereq_identifierintfield_offset
@@ -24,8 +24,8 @@
- result
- This is the result handle that is evaluated. This result is obtained by a call to cubrid_execute.
+ req_identifier
+ This is the request identifier .field_offset
@@ -40,8 +40,11 @@
Name of the table of the specified field, on success.
-
- &false; or -1 on failure.
+
+ &false; when invalid field_offset value.
+
+
+ -1 if SQL sentence is not SELECT.
diff --git a/reference/cubrid/functions/cubrid-field-type.xml b/reference/cubrid/functions/cubrid-field-type.xml
index 07bef17946..507bbe873b 100644
--- a/reference/cubrid/functions/cubrid-field-type.xml
+++ b/reference/cubrid/functions/cubrid-field-type.xml
@@ -11,7 +11,7 @@
&reftitle.description;
stringcubrid_field_type
- intresult
+ resourcereq_identifierintfield_offset
@@ -24,8 +24,8 @@
- result
- This is the result handle that is evaluated. This result is obtained by a call to cubrid_execute.
+ req_identifier
+ This is the requeset identifier.field_offset
@@ -40,8 +40,11 @@
Type of the column, on success.
-
- &false; on failure.
+
+ &false; when invalid field_offset value.
+
+
+ -1 if SQL sentence is not SELECT.
diff --git a/reference/cubrid/functions/cubrid-free-result.xml b/reference/cubrid/functions/cubrid-free-result.xml
index 87e9b37e03..df7d18ab4d 100644
--- a/reference/cubrid/functions/cubrid-free-result.xml
+++ b/reference/cubrid/functions/cubrid-free-result.xml
@@ -11,7 +11,7 @@
&reftitle.description;
boolcubrid_free_result
- resourceresult
+ resourcereq_identifier
This function frees the memory occupied by the result data. It returns TRUE on success or FALSE on failure.
@@ -23,8 +23,8 @@
- result
- This is the result handle that is evaluated. This result is obtained by a call to cubrid_execute.
+ req_identifier
+ This is the request identifier.
diff --git a/reference/cubrid/functions/cubrid-get-charset.xml b/reference/cubrid/functions/cubrid-get-charset.xml
index 6af509476b..4eb044a6aa 100644
--- a/reference/cubrid/functions/cubrid-get-charset.xml
+++ b/reference/cubrid/functions/cubrid-get-charset.xml
@@ -11,7 +11,7 @@
&reftitle.description;
stringcubrid_get_charset
- intlink_identifier
+ resourceconn_identifier
This function returns This function returns the current CUBRID connection charset.
@@ -23,8 +23,8 @@
- link_identifier
- The CUBRID connection. If the link identifier is not specified, the last link opened by cubrid_connect is assumed.
+ conn_identifier
+ The CUBRID connection. If the connection identifier is not specified, the last link opened by cubrid_connect is assumed.
diff --git a/reference/cubrid/functions/cubrid-get-class-name.xml b/reference/cubrid/functions/cubrid-get-class-name.xml
index c0077c559d..6bf112e7f9 100644
--- a/reference/cubrid/functions/cubrid-get-class-name.xml
+++ b/reference/cubrid/functions/cubrid-get-class-name.xml
@@ -10,8 +10,8 @@
&reftitle.description;
- mixedcubrid_get_class_name
- intconn_handle
+ stringcubrid_get_class_name
+ resourceconn_identifierstringoid
@@ -24,8 +24,8 @@
- conn_handle
- Connection handle.
+ conn_identifier
+ Connection identifier.oid
diff --git a/reference/cubrid/functions/cubrid-get-db-parameter.xml b/reference/cubrid/functions/cubrid-get-db-parameter.xml
index 7d27e01c5a..ba094d4183 100644
--- a/reference/cubrid/functions/cubrid-get-db-parameter.xml
+++ b/reference/cubrid/functions/cubrid-get-db-parameter.xml
@@ -11,10 +11,10 @@
&reftitle.description;
arraycubrid_get_db_parameter
- intlink_identifier
+ resourceconn_identifier
- This function returns the CUBRID database parameters or it returns FALSE on failure. It returns an array with the values for the following parameters:
+ This function returns the CUBRID database parameters or it returns FALSE on failure. It returns an associative array with the values for the following parameters:
@@ -31,8 +31,8 @@
- link_identifier
- The CUBRID connection. If the link identifier is not specified, the last link opened by cubrid_connect is assumed.
+ conn_identifier
+ The CUBRID connection. If the connection identifier is not specified, the last link opened by cubrid_connect is assumed.
@@ -41,7 +41,7 @@
&reftitle.returnvalues;
- An array with CUBRID database parameters; on success.
+ An associative array with CUBRID database parameters; on success.
&false; on failure.
diff --git a/reference/cubrid/functions/cubrid-get-server-info.xml b/reference/cubrid/functions/cubrid-get-server-info.xml
index 7baf7acb9c..be27fd0b8a 100644
--- a/reference/cubrid/functions/cubrid-get-server-info.xml
+++ b/reference/cubrid/functions/cubrid-get-server-info.xml
@@ -11,7 +11,7 @@
&reftitle.description;
stringcubrid_get_server_info
- intlink_identifier
+ resourceconn_identifier
This function returns a string that represents the CUBRID server version.
@@ -23,8 +23,8 @@
- link_identifier
- The CUBRID connection. If the link identifier is not specified, the last link opened by cubrid_connect is assumed.
+ conn_identifier
+ The CUBRID connection. If the connection identifier is not specified, the last link opened by cubrid_connect is assumed.
diff --git a/reference/cubrid/functions/cubrid-get.xml b/reference/cubrid/functions/cubrid-get.xml
index 62413d7f3a..4148f885b3 100644
--- a/reference/cubrid/functions/cubrid-get.xml
+++ b/reference/cubrid/functions/cubrid-get.xml
@@ -11,7 +11,7 @@
&reftitle.description;
mixedcubrid_get
- intconn_handle
+ resourceconn_identifierstringoidmixedattr
@@ -25,8 +25,8 @@
- conn_handle
- Connection handle.
+ conn_identifier
+ Connection identifier.oid
@@ -43,9 +43,12 @@
&reftitle.returnvalues;
- Content of the requested attribute, when process is successful;
- &false; when process is unsuccessful (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)
- 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.
+
+ 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)
+
diff --git a/reference/cubrid/functions/cubrid-insert-id.xml b/reference/cubrid/functions/cubrid-insert-id.xml
index b6a0ddfc63..1b7aa196f9 100644
--- a/reference/cubrid/functions/cubrid-insert-id.xml
+++ b/reference/cubrid/functions/cubrid-insert-id.xml
@@ -12,7 +12,7 @@
arraycubrid_insert_idstringclass_name
- intconnection_handle
+ resourceconn_identifier
This function returns an array with the IDs generated for the AUTO_INCREMENT columns that were updated by the previous INSERT query. It returns an array with all the AUTO_INCREMENT columns and their values. It returns 0 if the previous query does not generate new rows, or it returns FALSE on failure.
@@ -28,8 +28,8 @@
The name of the class (table) that was used in the last INSERT statement for which the auto increment values are retrieved.
- connection_handle
- The connection handle previously obtained by a call to cubrid_connect.
+ conn_identifier
+ The connection identifier previously obtained by a call to cubrid_connect.
@@ -38,7 +38,7 @@
&reftitle.returnvalues;
- An array with all the AUTO_INCREMENT columns and their values, on success.
+ An associative array with all the AUTO_INCREMENT columns and their values, on success.
0, if the previous query does not generate new rows.
diff --git a/reference/cubrid/functions/cubrid-is-instance.xml b/reference/cubrid/functions/cubrid-is-instance.xml
index c8f1576632..8a3369dbd6 100644
--- a/reference/cubrid/functions/cubrid-is-instance.xml
+++ b/reference/cubrid/functions/cubrid-is-instance.xml
@@ -11,7 +11,7 @@
&reftitle.description;
intcubrid_is_instance
- intconn_handle
+ resourceconn_identifierstringoid
@@ -24,8 +24,8 @@
- conn_handle
- Connection handle.
+ conn_identifier
+ Connection identifier.oid
diff --git a/reference/cubrid/functions/cubrid-list-dbs.xml b/reference/cubrid/functions/cubrid-list-dbs.xml
index e3ea71d7d4..8e879dd7b7 100644
--- a/reference/cubrid/functions/cubrid-list-dbs.xml
+++ b/reference/cubrid/functions/cubrid-list-dbs.xml
@@ -11,7 +11,7 @@
&reftitle.description;
arraycubrid_list_dbs
- intlink_identifier
+ resourceconn_identifier
This function returns an array with the list of all existing Cubrid databases.
@@ -23,8 +23,8 @@
- link_identifier
- The CUBRID connection. If the link identifier is not specified, the last link opened by cubrid_connect is assumed.
+ conn_identifier
+ The CUBRID connection. If the connection identifier is not specified, the last link opened by cubrid_connect is assumed.
@@ -33,7 +33,7 @@
&reftitle.returnvalues;
- An array with all existing Cubrid databases; on success.
+ An numeric array with all existing Cubrid databases; on success.
&false; on failure.
diff --git a/reference/cubrid/functions/cubrid-load-from-glo.xml b/reference/cubrid/functions/cubrid-load-from-glo.xml
index e31976c261..29dc8e401e 100644
--- a/reference/cubrid/functions/cubrid-load-from-glo.xml
+++ b/reference/cubrid/functions/cubrid-load-from-glo.xml
@@ -11,7 +11,7 @@
&reftitle.description;
intcubrid_load_from_glo
- intconn_handle
+ resourceconn_identifierstringoidstringfile_name
@@ -25,8 +25,8 @@
- conn_handle
- Connection handle.
+ conn_identifier
+ Connection identifier.oid
diff --git a/reference/cubrid/functions/cubrid-lock-read.xml b/reference/cubrid/functions/cubrid-lock-read.xml
index a67c79317e..f6d4db92d0 100644
--- a/reference/cubrid/functions/cubrid-lock-read.xml
+++ b/reference/cubrid/functions/cubrid-lock-read.xml
@@ -11,7 +11,7 @@
&reftitle.description;
intcubrid_lock_read
- intconn_handle
+ resourceconn_identifierstringoid
@@ -24,8 +24,8 @@
- conn_handle
- Connection handle.
+ conn_identifier
+ Connection identifier.oid
diff --git a/reference/cubrid/functions/cubrid-lock-write.xml b/reference/cubrid/functions/cubrid-lock-write.xml
index 04e9526812..315e13dccf 100644
--- a/reference/cubrid/functions/cubrid-lock-write.xml
+++ b/reference/cubrid/functions/cubrid-lock-write.xml
@@ -11,7 +11,7 @@
&reftitle.description;
intcubrid_lock_write
- intconn_handle
+ resourceconn_identifierstringoid
@@ -24,8 +24,8 @@
- conn_handle
- Connection handle.
+ conn_identifier
+ Connection identifier.oid
diff --git a/reference/cubrid/functions/cubrid-move-cursor.xml b/reference/cubrid/functions/cubrid-move-cursor.xml
index 90b53a7e22..0e6c57f534 100644
--- a/reference/cubrid/functions/cubrid-move-cursor.xml
+++ b/reference/cubrid/functions/cubrid-move-cursor.xml
@@ -11,12 +11,12 @@
&reftitle.description;
intcubrid_move_cursor
- intreq_handle
+ resourcereq_identifierintoffsetintorigin
- The cubrid_move_cursor function is used to move the current cursor location of req_handle by the value set in the offset argument, to the direction set in the origin argument. To set the origin argument, you can use CUBRID_CURSOR_FIRST for the first part of the result, CUBRID_CURSOR_CURRENT for the current location of the result, or CUBRID_CURSOR_LAST for the last part of the result. If origin argument is not explicitly designated, then the function uses CUBRID_CURSOR_CURRENT as its default value.
+ The cubrid_move_cursor function is used to move the current cursor location of req_identifier by the value set in the offset argument, to the direction set in the origin argument. To set the origin argument, you can use CUBRID_CURSOR_FIRST for the first part of the result, CUBRID_CURSOR_CURRENT for the current location of the result, or CUBRID_CURSOR_LAST for the last part of the result. If origin argument is not explicitly designated, then the function uses CUBRID_CURSOR_CURRENT as its default value.
If the value of cursor movement range goes over the valid limit, then the cursor moves to the next location after the valid range for the cursor. For example, if you move 20 units in the result with the size of 10, then the cursor will move to 11th place and return CUBRID_NO_MORE_DATA.
@@ -28,8 +28,8 @@
- req_handle
- Request handle.
+ req_identifier
+ Request identifier.offset
diff --git a/reference/cubrid/functions/cubrid-new-glo.xml b/reference/cubrid/functions/cubrid-new-glo.xml
index 470007261c..15db2178cc 100644
--- a/reference/cubrid/functions/cubrid-new-glo.xml
+++ b/reference/cubrid/functions/cubrid-new-glo.xml
@@ -10,8 +10,8 @@
&reftitle.description;
- mixedcubrid_new_glo
- intconn_handle
+ stringcubrid_new_glo
+ resourceconn_identifierstringclass_namestringfile_name
@@ -25,8 +25,8 @@
- conn_handle
- Connection handle.
+ conn_identifier
+ Connection identifier.class_name
@@ -59,7 +59,8 @@
intcubrid_num_cols
- intreq_handle
+ resourcereq_identifier
The cubrid_num_cols function is used to get the number of columns from the query result. It can only be used when the query executed is a select sentence.
@@ -23,8 +23,8 @@
- req_handle
- Request handle.
+ req_identifier
+ Request identifier.
@@ -36,7 +36,7 @@
Number of columns, when process is successful.
- -1, in case of error.
+ -1, if SQL sentence is not SELECT.
diff --git a/reference/cubrid/functions/cubrid-num-fields.xml b/reference/cubrid/functions/cubrid-num-fields.xml
index 11dc8073aa..8ab76eb6ce 100644
--- a/reference/cubrid/functions/cubrid-num-fields.xml
+++ b/reference/cubrid/functions/cubrid-num-fields.xml
@@ -11,7 +11,7 @@
&reftitle.description;
intcubrid_num_fields
- intresult
+ resourcereq_identifier
This function returns the number of columns in the result set, on success, or it returns FALSE on failure.
@@ -23,8 +23,8 @@
- result
- This is the result handle that is evaluated. This result is obtained by a call to cubrid_execute.
+ req_identifier
+ This is the request identifier.
@@ -36,7 +36,7 @@
Number of columns, on success.
- &false; on failure.
+ -1 if SQL sentence is not SELECT.
diff --git a/reference/cubrid/functions/cubrid-num-rows.xml b/reference/cubrid/functions/cubrid-num-rows.xml
index fdd836dc32..e36b0007c1 100644
--- a/reference/cubrid/functions/cubrid-num-rows.xml
+++ b/reference/cubrid/functions/cubrid-num-rows.xml
@@ -11,10 +11,13 @@
&reftitle.description;
intcubrid_num_rows
- intreq_handle
+ resourcereq_identifier
- The cubrid_num_rows function is used to get the number of rows from the query result. You can use it only when the query executed is a select sentence. When you want to know such value for INSERT, UPDATE, or DELETE query, you have to use the cubrid_affected_rows function. The cubrid_num_rows function can only be used for synchronous query; it returns 0 when it is used for asynchronous query.
+ The cubrid_num_rows function is used to get the number of rows from the query result. You can use it only when the query executed is a select sentence. When you want to know such value for INSERT, UPDATE, or DELETE query, you have to use the cubrid_affected_rows function.
+
+ Note: The cubrid_num_rows function can only be used for synchronous query; it returns 0 when it is used for asynchronous query.
+
@@ -23,8 +26,8 @@
- req_handle
- Request handle.
+ req_identifier
+ Request identifier.
@@ -39,7 +42,7 @@
0 when the query was done in async mode.
- -1, in case of error.
+ -1, if SQL sentence is not SELECT.
diff --git a/reference/cubrid/functions/cubrid-prepare.xml b/reference/cubrid/functions/cubrid-prepare.xml
index 4e65745129..bae096eb2c 100644
--- a/reference/cubrid/functions/cubrid-prepare.xml
+++ b/reference/cubrid/functions/cubrid-prepare.xml
@@ -10,13 +10,16 @@
&reftitle.description;
- intcubrid_prepare
- intconn_handle
+ resourcecubrid_prepare
+ resourceconn_identifierstringprepare_stmtintoption
- The cubrid_prepare function is a sort of API which represents SQL statements compiled previously to a given connection handle. This pre-compiled SQL statement will be included in the cubrid_prepare. Accccordingly, you can use this statement effectively to execute several times repeatedly or to process long data. Only a single statement can be used and a parameter may put a question mark (?) to appropriate area in the SQL statement. Add a parameter when you bind a value in the VALUES cluse of INSERT statement or in the WHERE clause. Note that it is allowed to bind a value to a MARK(?) by the cubrid_bind only.
+ The cubrid_prepare function is a sort of API which represents SQL statements compiled previously to a given connection handle. This pre-compiled SQL statement will be included in the cubrid_prepare.
+
+
+ Accccordingly, you can use this statement effectively to execute several times repeatedly or to process long data. Only a single statement can be used and a parameter may put a question mark (?) to appropriate area in the SQL statement. Add a parameter when you bind a value in the VALUES cluse of INSERT statement or in the WHERE clause. Note that it is allowed to bind a value to a MARK(?) by the cubrid_bind only.
@@ -25,8 +28,8 @@
- conn_handle
- Connection handle.
+ conn_identifier
+ Connection identifier.prepare_stmt
@@ -43,7 +46,7 @@
&reftitle.returnvalues;
- Request handle, if process is successful;
+ Request identifier, if process is successful;
&false;, if process is unsuccessful.
diff --git a/reference/cubrid/functions/cubrid-put.xml b/reference/cubrid/functions/cubrid-put.xml
index d1d4b39cde..233de5e154 100644
--- a/reference/cubrid/functions/cubrid-put.xml
+++ b/reference/cubrid/functions/cubrid-put.xml
@@ -11,13 +11,16 @@
&reftitle.description;
intcubrid_put
- intconn_handle
+ resourceconn_identifierstringoidstringattrmixedvalue
- The cubrid_put function is used to update an attribute of the instance of the given oid. You can update single attribute by using string data type to set attr. In such case, you can use integer, float-point, or string type data for the value argument. To update multiple number of attributes, you can disregard the attr argument, and set value argument with associative array data type. However, you cannot use the method for attribute of collection type. You have to use APIs related to collection type (cubrid_set_add, cubrid_set_drop, etc) when you want to use cubrid_put on collection typed attribute.
+ The cubrid_put function is used to update an attribute of the instance of the given oid.
+
+
+ You can update single attribute by using string data type to set attr. In such case, you can use integer, float-point, or string type data for the value argument. To update multiple number of attributes, you can disregard the attr argument, and set value argument with associative array data type. However, you cannot use the method for attribute of collection type. You have to use APIs related to collection type (cubrid_set_add, cubrid_set_drop, etc) when you want to use cubrid_put on collection typed attribute.
@@ -26,8 +29,8 @@
- conn_handle
- Connection handle.
+ conn_identifier
+ Connection identifier.oid
diff --git a/reference/cubrid/functions/cubrid-real-escape-string.xml b/reference/cubrid/functions/cubrid-real-escape-string.xml
index e2a2a5899a..3d59ccd8e7 100644
--- a/reference/cubrid/functions/cubrid-real-escape-string.xml
+++ b/reference/cubrid/functions/cubrid-real-escape-string.xml
@@ -12,10 +12,10 @@
stringcubrid_real_escape_stringstringunescaped_string
- resourcelink_identifier
+ resourceconn_identifier
- This function returns the escaped string version of the given string. It pre-appends backslashes to the following characters: \x00, \n, \r, \, ', ". This function must always (with few exceptions) be used to make data safe before sending a query to CUBRID.
+ This function returns the escaped string version of the given string. It pre-appends backslashes to the following characters: '. This function must always (with few exceptions) be used to make data safe before sending a query to CUBRID.
@@ -28,8 +28,8 @@
The string that is to be escaped.
- link_identifier
- The CUBRID connection. If the link identifier is not specified, the last link opened by cubrid_connect is assumed.
+ conn_identifier
+ The CUBRID connection. If the connection identifier is not specified, the last link opened by cubrid_connect is assumed.
diff --git a/reference/cubrid/functions/cubrid-result.xml b/reference/cubrid/functions/cubrid-result.xml
index 302a5e2acd..260c6596bc 100644
--- a/reference/cubrid/functions/cubrid-result.xml
+++ b/reference/cubrid/functions/cubrid-result.xml
@@ -11,7 +11,7 @@
&reftitle.description;
stringcubrid_result
- intresult
+ resourcereq_identifierintrowmixedfield = 0
@@ -25,8 +25,8 @@
- result
- This is the result handle that is evaluated. This result is obtained by a call to cubrid_execute.
+ req_identifier
+ This is the request identifier.row
@@ -43,7 +43,7 @@
&reftitle.returnvalues;
- Value of a specific field, on success.
+ Value of a specific field, on success (NULL if value if null).
&false; on failure.
diff --git a/reference/cubrid/functions/cubrid-rollback.xml b/reference/cubrid/functions/cubrid-rollback.xml
index 7fe733195c..2b7eb1ecfe 100644
--- a/reference/cubrid/functions/cubrid-rollback.xml
+++ b/reference/cubrid/functions/cubrid-rollback.xml
@@ -11,7 +11,7 @@
&reftitle.description;
intcubrid_rollback
- intconn_handle
+ resourceconn_identifier
The cubrid_rollback function executes rollback on the transaction pointed by conn_handle, currently in progress.
@@ -26,8 +26,8 @@
- conn_handle
- Connection handle.
+ conn_identifier
+ Connection identifier.
diff --git a/reference/cubrid/functions/cubrid-save-to-glo.xml b/reference/cubrid/functions/cubrid-save-to-glo.xml
index 0bc7ddd050..2ecf5a26c3 100644
--- a/reference/cubrid/functions/cubrid-save-to-glo.xml
+++ b/reference/cubrid/functions/cubrid-save-to-glo.xml
@@ -11,7 +11,7 @@
&reftitle.description;
intcubrid_save_to_glo
- intconn_handle
+ resourceconn_identifierstringoidstringfile_name
@@ -25,8 +25,8 @@
- conn_handle
- Connection handle.
+ conn_identifier
+ Connection identifier.oid
diff --git a/reference/cubrid/functions/cubrid-schema.xml b/reference/cubrid/functions/cubrid-schema.xml
index ec8601c965..de92c599c6 100644
--- a/reference/cubrid/functions/cubrid-schema.xml
+++ b/reference/cubrid/functions/cubrid-schema.xml
@@ -10,8 +10,8 @@
&reftitle.description;
- mixedcubrid_schema
- intconn_handle
+ arraycubrid_schema
+ resourceconn_identifierintschema_typestringclass_namestringattr_name
@@ -26,8 +26,8 @@
- conn_handle
- Connection handle.
+ conn_identifier
+ Connection identifier.schema_type
@@ -48,7 +48,7 @@
&reftitle.returnvalues;
- array containing the schema information, when process is successful;
+ Array containing the schema information, when process is successful;
-1, when process is unsuccessful
diff --git a/reference/cubrid/functions/cubrid-send-glo.xml b/reference/cubrid/functions/cubrid-send-glo.xml
index 0633ff5dde..a8e5e0565e 100644
--- a/reference/cubrid/functions/cubrid-send-glo.xml
+++ b/reference/cubrid/functions/cubrid-send-glo.xml
@@ -11,7 +11,7 @@
&reftitle.description;
intcubrid_send_glo
- intconn_handle
+ resourceconn_identifierstringoid
@@ -24,8 +24,8 @@
- conn_handle
- Connection handle.
+ conn_identifier
+ Connection identifier.oid
diff --git a/reference/cubrid/functions/cubrid-seq-drop.xml b/reference/cubrid/functions/cubrid-seq-drop.xml
index 5789f407c5..90b298cd21 100644
--- a/reference/cubrid/functions/cubrid-seq-drop.xml
+++ b/reference/cubrid/functions/cubrid-seq-drop.xml
@@ -11,7 +11,7 @@
&reftitle.description;
intcubrid_seq_drop
- intconn_handle
+ resourceconn_identifierstringoidstringattr_nameintindex
@@ -26,8 +26,8 @@
- conn_handle
- Connection handle.
+ conn_identifier
+ Connection identifier.oid
diff --git a/reference/cubrid/functions/cubrid-seq-insert.xml b/reference/cubrid/functions/cubrid-seq-insert.xml
index a256383eec..c6757a96b1 100644
--- a/reference/cubrid/functions/cubrid-seq-insert.xml
+++ b/reference/cubrid/functions/cubrid-seq-insert.xml
@@ -11,7 +11,7 @@
&reftitle.description;
intcubrid_seq_insert
- intconn_handle
+ resourceconn_identifierstringoidstringattr_nameintindex
@@ -27,8 +27,8 @@
- conn_handle
- Connection handle.
+ conn_identifier
+ Connection identifier.oid
diff --git a/reference/cubrid/functions/cubrid-seq-put.xml b/reference/cubrid/functions/cubrid-seq-put.xml
index 8359994e12..4998c26db6 100644
--- a/reference/cubrid/functions/cubrid-seq-put.xml
+++ b/reference/cubrid/functions/cubrid-seq-put.xml
@@ -11,7 +11,7 @@
&reftitle.description;
intcubrid_seq_put
- intconn_handle
+ resourceconn_identifierstringoidstringattr_nameintindex
@@ -27,8 +27,8 @@
- conn_handle
- Connection handle.
+ conn_identifier
+ Connection identifier.oid
diff --git a/reference/cubrid/functions/cubrid-set-add.xml b/reference/cubrid/functions/cubrid-set-add.xml
index e073f97fc0..176da05bb5 100644
--- a/reference/cubrid/functions/cubrid-set-add.xml
+++ b/reference/cubrid/functions/cubrid-set-add.xml
@@ -11,7 +11,7 @@
&reftitle.description;
intcubrid_set_add
- intconn_handle
+ resourceconn_identifierstringoidstringattr_namestringset_element
@@ -26,8 +26,8 @@
- conn_handle
- Connection handle.
+ conn_identifier
+ Connection identifier.oid
diff --git a/reference/cubrid/functions/cubrid-set-drop.xml b/reference/cubrid/functions/cubrid-set-drop.xml
index 759f642645..007f2064d9 100644
--- a/reference/cubrid/functions/cubrid-set-drop.xml
+++ b/reference/cubrid/functions/cubrid-set-drop.xml
@@ -11,7 +11,7 @@
&reftitle.description;
intcubrid_set_drop
- intconn_handle
+ resourceconn_identifierstringoidstringattr_namestringset_element
@@ -26,8 +26,8 @@
- conn_handle
- Connection handle.
+ conn_identifier
+ Connection identifier.oid
diff --git a/reference/cubrid/functions/cubrid-unbuffered-query.xml b/reference/cubrid/functions/cubrid-unbuffered-query.xml
index cdfa208dad..5d00c9c2a7 100644
--- a/reference/cubrid/functions/cubrid-unbuffered-query.xml
+++ b/reference/cubrid/functions/cubrid-unbuffered-query.xml
@@ -12,7 +12,7 @@
resourcecubrid_unbuffered_querystringquery
- intlink_identifier
+ resourceconn_identifier
This function performs a query without fetching the results into memory.
@@ -31,8 +31,8 @@
A SQL query.
- link_identifier
- The CUBRID connection. If the link identifier is not specified, the last link opened by cubrid_connect is assumed.
+ conn_identifier
+ The CUBRID connection. If the connection identifier is not specified, the last link opened by cubrid_connect is assumed.
@@ -41,7 +41,7 @@
&reftitle.returnvalues;
- For SELECT, SHOW, DESCRIBE or EXPLAIN statements returns a resource on success.
+ For SELECT, SHOW, DESCRIBE or EXPLAIN statements returns a connection identifier resource on success.
For other type of SQL statements, UPDATE, DELETE, DROP, etc, returns &true; on success.
diff --git a/reference/cubrid/setup.xml b/reference/cubrid/setup.xml
index 90f70cb26c..4510441b6b 100644
--- a/reference/cubrid/setup.xml
+++ b/reference/cubrid/setup.xml
@@ -6,8 +6,8 @@
&reftitle.required;
-
- In order to have these functions available, you must install PHP API for CUBRID (CUBRID PHP API).
+
+ In order to have these functions available, you must install CUBRID, and compile CUBRID PHP Library with CUBRID support.
@@ -16,41 +16,27 @@
&reftitle.runtime;
- Edit the php.ini file and add following text:
-
-
-
- [CUBRID]
- cubrid.err_path = C:\PHP\CUBRID
- ;for Linux, cubrid.err_path = /home/cubrid/CUBRID/msg
-
-
-
- Here's a short explanation:
-
-
-
-
-
- cubrid.err_path
-
-
-
-
- The path to the folder where cubrid_err.msg file can be found. This file contains the error messages that CUBRID uses in case of some errors.
-
-
-
-
-
-
+ There is no runtime configuration now.
+
&reftitle.resources;
- There are two resource types used in the CUBRID. The first one is the link identifier for a database connection, the second a resource which holds the result of a query.
+ There are two resource types used in the CUBRID. The first one is the link identifier for a database connection, the second a resource which holds the result of a query.
+
+ connection identifier
+
+ A connection identifier returned by cubrid_connect and cubrid_connect_with_url.
+
+
+
+ request identifier
+
+ A request identifier returned by cubrid_prepare and cubrid_execute.
+
+
diff --git a/reference/cubrid/versions.xml b/reference/cubrid/versions.xml
index 1e4feac188..626c031f30 100644
--- a/reference/cubrid/versions.xml
+++ b/reference/cubrid/versions.xml
@@ -8,70 +8,71 @@
considered irrelevant so is not listed here.
-->
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
+-->