diff --git a/reference/dbx/constants.xml b/reference/dbx/constants.xml index 83fae94556..f813e74a6b 100644 --- a/reference/dbx/constants.xml +++ b/reference/dbx/constants.xml @@ -1,5 +1,5 @@ - +
&reftitle.constants; &extension.constants; @@ -125,6 +125,39 @@ + + + DBX_COLNAMES_UNCHANGED + (integer) + + + + + + + + + + DBX_COLNAMES_UPPERCASE + (integer) + + + + + + + + + + DBX_COLNAMES_LOWERCASE + (integer) + + + + + + + DBX_CMP_NATIVE diff --git a/reference/dbx/functions/dbx-query.xml b/reference/dbx/functions/dbx-query.xml index 862497cbeb..9cfe45028a 100644 --- a/reference/dbx/functions/dbx-query.xml +++ b/reference/dbx/functions/dbx-query.xml @@ -1,5 +1,5 @@ - + @@ -51,7 +51,8 @@ dbx_close($link); The flags parameter is used to control the amount of information that is returned. It may be any combination of the following - constants with the bitwise OR operator (|): + constants with the bitwise OR operator (|). The DBX_COLNAMES_* flags + override the dbx.colnames_case setting from php.ini. @@ -101,6 +102,38 @@ dbx_close($link); + + + DBX_COLNAMES_UNCHANGED + + + + The case of the returned column names will not be changed. + + + + + + DBX_COLNAMES_UPPERCASE + + + + The case of the returned column names will be changed to + uppercase. + + + + + + DBX_COLNAMES_LOWERCASE + + + + The case of the returned column names will be changed to + lowercase. + + + Note that DBX_RESULT_INDEX is always used, regardless of the actual value of flags parameter. This means diff --git a/reference/dbx/ini.xml b/reference/dbx/ini.xml new file mode 100644 index 0000000000..a1e6a018aa --- /dev/null +++ b/reference/dbx/ini.xml @@ -0,0 +1,70 @@ + + +
+ &reftitle.runtime; + &extension.runtime; + + + DBX Configuration Options + + + + Name + Default + Changeable + + + + + dbx.colnames_case + "unchanged" + PHP_INI_SYSTEM + + + +
+ For further details and definition of the PHP_INI_* constants see + ini_set. +
+ + Here is a short explanation of the configuration directives. + + + + dbx.colnames_case + string + + + + Columns names can be returned "unchanged" or converted to + "uppercase" or "lowercase". This directive can be overridden + with a flag to dbx_query. + + + + + + +
+ + + diff --git a/reference/dbx/reference.xml b/reference/dbx/reference.xml index cc7228f423..9c88c42e37 100644 --- a/reference/dbx/reference.xml +++ b/reference/dbx/reference.xml @@ -1,5 +1,5 @@ - +