From f900cf75a2ce9972f3e8c701220f812f4b4c5af8 Mon Sep 17 00:00:00 2001 From: TAKAGI Masahiro Date: Sat, 11 Aug 2007 06:06:31 +0000 Subject: [PATCH] adjusted them to the new doc style. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@241068 c90b9560-bf6c-de11-be94-00142212c4b1 --- .../ingres-ii/functions/ingres-cursor.xml | 19 ++++++--- .../ingres-ii/functions/ingres-errno.xml | 19 ++++++--- .../ingres-ii/functions/ingres-error.xml | 19 ++++++--- .../functions/ingres-errsqlstate.xml | 19 ++++++--- .../functions/ingres-fetch-array.xml | 39 ++++++++++--------- .../functions/ingres-fetch-object.xml | 39 ++++++++++--------- .../ingres-ii/functions/ingres-fetch-row.xml | 24 ++++++++---- .../functions/ingres-field-length.xml | 33 +++++++++------- .../ingres-ii/functions/ingres-field-name.xml | 36 ++++++++++------- 9 files changed, 152 insertions(+), 95 deletions(-) diff --git a/reference/ingres-ii/functions/ingres-cursor.xml b/reference/ingres-ii/functions/ingres-cursor.xml index 6b4dd5e13a..2cfb019a38 100644 --- a/reference/ingres-ii/functions/ingres-cursor.xml +++ b/reference/ingres-ii/functions/ingres-cursor.xml @@ -1,5 +1,5 @@ - + ingres_cursor @@ -33,6 +33,8 @@ link + The connection link identifier. If not specified, the last opened link + is used. @@ -43,7 +45,8 @@ &reftitle.returnvalues; - + Returns an string containing the active cursor name. If no cursor is + active then NULL is returned. @@ -69,12 +72,18 @@ echo $cursor_name; + + + + &reftitle.seealso; - See also - ingres_prepare and - ingres_execute. + + ingres_prepare + ingres_execute + + + ingres_errno @@ -38,6 +38,8 @@ link + The connection link identifier. If not specified, the last opened link + is used. @@ -48,7 +50,8 @@ &reftitle.returnvalues; - + Returns an integer containing the last error number. If no error was + reported 0 is returned. @@ -75,12 +78,18 @@ if ( $error_code != 0 ) { + + + + &reftitle.seealso; - See also - ingres_error and - ingres_errsqlstate. + + ingres_error + ingres_errsqlstate + + + ingres_error @@ -38,6 +38,8 @@ link + The connection link identifier. If not specified, the last opened link + is used. @@ -48,7 +50,8 @@ &reftitle.returnvalues; - + Returns a string containing the last error, or NULL if no error has + occurred. @@ -75,12 +78,18 @@ if ( is_null($error_text) ) { + + + + &reftitle.seealso; - See also - ingres_errno and - ingres_errsqlstate. + + ingres_errno + ingres_errsqlstate + + + ingres_errsqlstate @@ -39,6 +39,8 @@ link + The connection link identifier. If not specified, the last opened link + is used. @@ -49,7 +51,8 @@ &reftitle.returnvalues; - + Returns a string containing the last SQLSTATE, or NULL if no error has + occurred. @@ -76,12 +79,18 @@ if ( is_null($error_sqlstate) ) { + + + + &reftitle.seealso; - See also - ingres_errno and - ingres_errsqlstate. + + ingres_errno + ingres_error + + + ingres_fetch_array @@ -13,11 +13,6 @@ intresult_type resourcelink - - ingres_fetch_array Returns an array that - corresponds to the fetched row, or &false; if there are no more - rows. - This function is an extended version of ingres_fetch_row. In addition to storing @@ -45,11 +40,6 @@ $bar = $result["bar"]; - - result_type can be INGRES_NUM for - enumerated array, INGRES_ASSOC for associative array, or - INGRES_BOTH (default). - Speed-wise, the function is identical to ingres_fetch_object, and almost as quick as @@ -66,6 +56,9 @@ $bar = $result["bar"]; result_type + result_type can be INGRES_NUM for + enumerated array, INGRES_ASSOC for associative array, or + INGRES_BOTH (default). @@ -73,6 +66,8 @@ $bar = $result["bar"]; link + The connection link identifier. If not specified, the last opened link + is used. @@ -83,11 +78,11 @@ $bar = $result["bar"]; &reftitle.returnvalues; - + Returns an array that corresponds to the fetched row, + or &false; if there are no more rows. - &reftitle.examples; @@ -110,15 +105,21 @@ while ($row = ingres_fetch_array()) { + + + + &reftitle.seealso; - See also - ingres_query, - ingres_num_fields, - ingres_field_name, - ingres_fetch_object, and - ingres_fetch_row. + + ingres_query + ingres_num_fields + ingres_field_name + ingres_fetch_object + ingres_fetch_row + + + ingres_fetch_object @@ -13,11 +13,6 @@ intresult_type resourcelink - - ingres_fetch_object Returns an object that - corresponds to the fetched row, or &false; if there are no more - rows. - This function is similar to ingres_fetch_array, with one difference - an @@ -25,11 +20,6 @@ that you can only access the data by the field names, and not by their offsets (numbers are illegal property names). - - The optional argument result_type is a - constant and can take the following values: INGRES_ASSOC, - INGRES_NUM, and INGRES_BOTH. - Speed-wise, the function is identical to ingres_fetch_array, and almost as quick as @@ -46,6 +36,9 @@ result_type + The optional argument result_type is a + constant and can take the following values: INGRES_ASSOC, + INGRES_NUM, and INGRES_BOTH. @@ -53,6 +46,8 @@ link + The connection link identifier. If not specified, the last opened link + is used. @@ -63,11 +58,11 @@ &reftitle.returnvalues; - + Returns an object that corresponds to the fetched row, + or &false; if there are no more rows. - &reftitle.examples; @@ -87,15 +82,21 @@ while ($row = ingres_fetch_object()) { + + + + &reftitle.seealso; - See also - ingres_query, - ingres_num_fields, - ingres_field_name, - ingres_fetch_array, and - ingres_fetch_row. + + ingres_query + ingres_num_fields + ingres_field_name + ingres_fetch_array + ingres_fetch_row + + + ingres_fetch_row @@ -33,6 +33,8 @@ link + The connection link identifier. If not specified, the last opened link + is used. @@ -43,11 +45,11 @@ &reftitle.returnvalues; - + Returns an array that corresponds to the fetched row, + or &false; if there are no more rows. - &reftitle.examples; @@ -68,14 +70,20 @@ while ($row = ingres_fetch_row()) { + + + + &reftitle.seealso; - See also - ingres_num_fields, - ingres_query, - ingres_fetch_array, and - ingres_fetch_object. + + ingres_num_fields + ingres_query + ingres_fetch_array + ingres_fetch_object + + + ingres_field_length @@ -19,18 +19,6 @@ the field. For detailed information, see the Ingres/OpenAPI User Guide - Appendix C. - - index is the number of the field and must - be between 1 and the value given by - ingres_num_fields. - - - See also - ingres_query, - ingres_fetch_array, - ingres_fetch_object, and - ingres_fetch_row. - @@ -41,6 +29,9 @@ index + index is the number of the field and must + be between 1 and the value given by + ingres_num_fields. @@ -48,6 +39,8 @@ link + The connection link identifier. If not specified, the last opened link + is used. @@ -58,7 +51,19 @@ &reftitle.returnvalues; - + Returns the length of a field. + + + + + &reftitle.seealso; + + + ingres_query + ingres_fetch_array + ingres_fetch_object + ingres_fetch_row + diff --git a/reference/ingres-ii/functions/ingres-field-name.xml b/reference/ingres-ii/functions/ingres-field-name.xml index 13c56263d7..5e13dd08cc 100644 --- a/reference/ingres-ii/functions/ingres-field-name.xml +++ b/reference/ingres-ii/functions/ingres-field-name.xml @@ -1,5 +1,5 @@ - + ingres_field_name @@ -15,19 +15,7 @@ ingres_field_name returns the name of a field - in a query result, or &false; on failure. - - - index is the number of the field and must be - between 1 and the value given by - ingres_num_fields. - - - See also - ingres_query, - ingres_fetch_array, - ingres_fetch_object and - ingres_fetch_row. + in a query result. @@ -39,6 +27,9 @@ index + index is the number of the field and must + be between 1 and the value given by + ingres_num_fields. @@ -46,6 +37,8 @@ link + The connection link identifier. If not specified, the last opened link + is used. @@ -56,7 +49,20 @@ &reftitle.returnvalues; - + Returns the name of a field + in a query result, or &false; on failure. + + + + + &reftitle.seealso; + + + ingres_query + ingres_fetch_array + ingres_fetch_object + ingres_fetch_row +