mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Added new functions to match protos, corrected some proto typos, minor aesthetic edits.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@34042 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
73f8077451
commit
5643fab1d4
1 changed files with 168 additions and 19 deletions
|
@ -17,22 +17,25 @@
|
|||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
<para>
|
||||
Returns: The number of affected rows by the last query.</para>
|
||||
Returns: The number of affected rows by the last query.
|
||||
</para>
|
||||
<para>
|
||||
<function>sybase_affected_rows</function> returns the number of
|
||||
rows affected by the last INSERT, UPDATE or DELETE query on the
|
||||
server associated with the specified link identifier. If the
|
||||
link identifier isn't specified, the last opened link is assumed.</para>
|
||||
link identifier isn't specified, the last opened link is assumed.
|
||||
</para>
|
||||
<para>
|
||||
This command is not effective for SELECT statements, only on
|
||||
statements which modify records. To retrieve the number of rows
|
||||
returned from a SELECT, use <function>sybase_num_rows</function>.
|
||||
<note>
|
||||
<para>
|
||||
This function is only available using the CT library interface
|
||||
to Sybase, and not the DB library.
|
||||
</para>
|
||||
</note></para>
|
||||
<note>
|
||||
<para>
|
||||
This function is only available using the CT library interface
|
||||
to Sybase, and not the DB library.
|
||||
</para>
|
||||
</note>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
|
@ -45,11 +48,12 @@
|
|||
<title>Description</title>
|
||||
<funcsynopsis>
|
||||
<funcprototype>
|
||||
<funcdef>int <function>sybase_close</function></funcdef>
|
||||
<funcdef>bool <function>sybase_close</function></funcdef>
|
||||
<paramdef>int <parameter>link_identifier</parameter></paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
<para>Returns: true on success, false on error
|
||||
<para>
|
||||
Returns: true on success, false on error
|
||||
</para>
|
||||
<para> sybase_close() closes the link to a Sybase database that's
|
||||
associated with the specified link identifier. If the link
|
||||
|
@ -114,7 +118,7 @@
|
|||
<title>Description</title>
|
||||
<funcsynopsis>
|
||||
<funcprototype>
|
||||
<funcdef>int <function>sybase_data_seek</function></funcdef>
|
||||
<funcdef>bool <function>sybase_data_seek</function></funcdef>
|
||||
<paramdef>int <parameter>result_identifier</parameter></paramdef>
|
||||
<paramdef>int <parameter>row_number</parameter></paramdef>
|
||||
</funcprototype>
|
||||
|
@ -140,7 +144,7 @@
|
|||
<title>Description</title>
|
||||
<funcsynopsis>
|
||||
<funcprototype>
|
||||
<funcdef>int <function>sybase_fetch_array</function></funcdef>
|
||||
<funcdef>array <function>sybase_fetch_array</function></funcdef>
|
||||
<paramdef>int <parameter>result</parameter></paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
|
@ -315,7 +319,7 @@
|
|||
<title>Description</title>
|
||||
<funcsynopsis>
|
||||
<funcprototype>
|
||||
<funcdef>int <function>sybase_free_result</function></funcdef>
|
||||
<funcdef>bool <function>sybase_free_result</function></funcdef>
|
||||
<paramdef>int <parameter>result</parameter></paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
|
@ -330,6 +334,150 @@
|
|||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<refentry id="function.sybase-get-last-message">
|
||||
<refnamediv>
|
||||
<refname>sybase_get_last_message</refname>
|
||||
<refpurpose>Returns the last message from the server</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<funcsynopsis>
|
||||
<funcprototype>
|
||||
<funcdef>string <function>sybase_get_last_message</function></funcdef>
|
||||
<paramdef>void <parameter></parameter></paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
<para>
|
||||
<function>sybase_get_last_message</function> returns the last
|
||||
message reported by the server.
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<refentry id="function.sybase-min-client-severity">
|
||||
<refnamediv>
|
||||
<refname>sybase_min_client_severity</refname>
|
||||
<refpurpose>Sets minimum client severity</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<funcsynopsis>
|
||||
<funcprototype>
|
||||
<funcdef>void <function>sybase_min_client_severity</function></funcdef>
|
||||
<paramdef>int <parameter>severity</parameter></paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
<para>
|
||||
<function>sybase_min_client_severity</function> sets the minimum
|
||||
client severity level.
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<refentry id="function.sybase-min-client-severity">
|
||||
<refnamediv>
|
||||
<refname>sybase_min_client_severity</refname>
|
||||
<refpurpose>Sets minimum client severity</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<funcsynopsis>
|
||||
<funcprototype>
|
||||
<funcdef>void <function>sybase_min_client_severity</function></funcdef>
|
||||
<paramdef>int <parameter>severity</parameter></paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
<para>
|
||||
<function>sybase_min_client_severity</function> sets the minimum
|
||||
client severity level.
|
||||
<note>
|
||||
<para>
|
||||
This function is only available using the CT library interface
|
||||
to Sybase, and not the DB library.
|
||||
</para>
|
||||
</note>
|
||||
</para>
|
||||
<para>
|
||||
See also: <function>sybase_min_server_severity</function>.
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<refentry id="function.sybase-min-error-severity">
|
||||
<refnamediv>
|
||||
<refname>sybase_min_error_severity</refname>
|
||||
<refpurpose>Sets minimum error severity</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<funcsynopsis>
|
||||
<funcprototype>
|
||||
<funcdef>void <function>sybase_min_error_severity</function></funcdef>
|
||||
<paramdef>int <parameter>severity</parameter></paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
<para>
|
||||
<function>sybase_min_error_severity</function> sets the minimum
|
||||
error severity level.
|
||||
</para>
|
||||
<para>
|
||||
See also: <function>sybase_min_message_severity</function>.
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<refentry id="function.sybase-min-message-severity">
|
||||
<refnamediv>
|
||||
<refname>sybase_min_message_severity</refname>
|
||||
<refpurpose>Sets minimum message severity</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<funcsynopsis>
|
||||
<funcprototype>
|
||||
<funcdef>void <function>sybase_min_message_severity</function></funcdef>
|
||||
<paramdef>int <parameter>severity</parameter></paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
<para>
|
||||
<function>sybase_min_message_severity</function> sets the minimum
|
||||
message severity level.
|
||||
</para>
|
||||
<para>
|
||||
See also: <function>sybase_min_error_severity</function>.
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<refentry id="function.sybase-min-server-severity">
|
||||
<refnamediv>
|
||||
<refname>sybase_min_server_severity</refname>
|
||||
<refpurpose>Sets minimum server severity</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<funcsynopsis>
|
||||
<funcprototype>
|
||||
<funcdef>void <function>sybase_min_server_severity</function></funcdef>
|
||||
<paramdef>int <parameter>severity</parameter></paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
<para>
|
||||
<function>sybase_min_server_severity</function> sets the minimum
|
||||
server severity level.
|
||||
<note>
|
||||
<para>
|
||||
This function is only available using the CT library interface
|
||||
to Sybase, and not the DB library.
|
||||
</para>
|
||||
</note>
|
||||
</para>
|
||||
<para>
|
||||
See also: <function>sybase_min_client_severity</function>.
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<refentry id="function.sybase-num-fields">
|
||||
<refnamediv>
|
||||
<refname>sybase_num_fields</refname>
|
||||
|
@ -366,7 +514,7 @@
|
|||
<funcsynopsis>
|
||||
<funcprototype>
|
||||
<funcdef>int <function>sybase_num_rows</function></funcdef>
|
||||
<paramdef>string <parameter>result</parameter></paramdef>
|
||||
<paramdef>int <parameter>result</parameter></paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
<para>
|
||||
|
@ -412,10 +560,11 @@
|
|||
Second, the connection to the SQL server will not be closed when
|
||||
the execution of the script ends. Instead, the link will remain
|
||||
open for future use (<function>sybase_close</function> will not
|
||||
close links established by <literal>sybase_pconnect()</literal>).</para>
|
||||
close links established by <function>sybase_pconnect()</function>).
|
||||
</para>
|
||||
<para>
|
||||
This type of links is therefore called 'persistent'.</para>
|
||||
|
||||
This type of links is therefore called 'persistent'.
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
|
@ -461,7 +610,7 @@
|
|||
<title>Description</title>
|
||||
<funcsynopsis>
|
||||
<funcprototype>
|
||||
<funcdef>int <function>sybase_result</function></funcdef>
|
||||
<funcdef>string <function>sybase_result</function></funcdef>
|
||||
<paramdef>int <parameter>result</parameter></paramdef>
|
||||
<paramdef>int <parameter>row</parameter></paramdef>
|
||||
<paramdef>mixed <parameter>field</parameter></paramdef>
|
||||
|
@ -505,7 +654,7 @@
|
|||
<title>Description</title>
|
||||
<funcsynopsis>
|
||||
<funcprototype>
|
||||
<funcdef>int <function>sybase_select_db</function></funcdef>
|
||||
<funcdef>bool <function>sybase_select_db</function></funcdef>
|
||||
<paramdef>string <parameter>database_name</parameter></paramdef>
|
||||
<paramdef>int <parameter>link_identifier</parameter></paramdef>
|
||||
</funcprototype>
|
||||
|
|
Loading…
Reference in a new issue