mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 17:08:54 +00:00
some more re-indenting
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@30951 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
53a06e022f
commit
6dc132efc3
1 changed files with 30 additions and 30 deletions
|
@ -20,16 +20,16 @@
|
|||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
<para>
|
||||
Returns true if the bind succeeds, otherwise false. Details
|
||||
Returns true if the bind succeeds, otherwise false. Details
|
||||
about the error can be retrieved using the
|
||||
<function>ora_error</function> and
|
||||
<function>ora_errorcode</function> functions.
|
||||
</para>
|
||||
<para>
|
||||
This function binds the named PHP variable with a SQL parameter.
|
||||
The SQL parameter must be in the form ":name". With the optional
|
||||
The SQL parameter must be in the form ":name". With the optional
|
||||
type parameter, you can define whether the SQL parameter is an
|
||||
in/out (0, default), in (1) or out (2) parameter. As of PHP
|
||||
in/out (0, default), in (1) or out (2) parameter. As of PHP
|
||||
3.0.1, you can use the constants ORA_BIND_INOUT, ORA_BIND_IN and
|
||||
ORA_BIND_OUT instead of the numbers.
|
||||
</para>
|
||||
|
@ -50,7 +50,7 @@ $input = 765;
|
|||
ora_exec($curs);
|
||||
echo "Result: $result<BR>Out: $output<BR>In: $input";
|
||||
?>
|
||||
</programlisting>
|
||||
</programlisting>
|
||||
</informalexample>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
@ -70,7 +70,7 @@ echo "Result: $result<BR>Out: $output<BR>In: $input";
|
|||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
<para>
|
||||
Returns true if the close succeeds, otherwise false. Details
|
||||
Returns true if the close succeeds, otherwise false. Details
|
||||
about the error can be retrieved using the
|
||||
<function>ora_error</function> and
|
||||
<function>ora_errorcode</function> functions.
|
||||
|
@ -78,7 +78,7 @@ echo "Result: $result<BR>Out: $output<BR>In: $input";
|
|||
<para>
|
||||
This function closes a data cursor opened with
|
||||
<function>ora_open</function>.
|
||||
</para>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
|
@ -99,7 +99,7 @@ echo "Result: $result<BR>Out: $output<BR>In: $input";
|
|||
<para>
|
||||
Returns the name of the field/column
|
||||
<parameter>column</parameter> on the cursor
|
||||
<parameter>cursor</parameter>. The returned name is in all
|
||||
<parameter>cursor</parameter>. The returned name is in all
|
||||
uppercase letters.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
@ -122,7 +122,7 @@ echo "Result: $result<BR>Out: $output<BR>In: $input";
|
|||
<para>
|
||||
Returns the name of the field/column
|
||||
<parameter>column</parameter> on the cursor
|
||||
<parameter>cursor</parameter>. The returned name is in all
|
||||
<parameter>cursor</parameter>. The returned name is in all
|
||||
uppercase letters.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
@ -145,7 +145,7 @@ echo "Result: $result<BR>Out: $output<BR>In: $input";
|
|||
<para>
|
||||
Returns the Oracle data type name of the field/column
|
||||
<parameter>column</parameter> on the cursor
|
||||
<parameter>cursor</parameter>. The returned type will be one of
|
||||
<parameter>cursor</parameter>. The returned type will be one of
|
||||
the following:
|
||||
<simplelist>
|
||||
<member><literal>"VARCHAR2"</literal></member>
|
||||
|
@ -157,11 +157,11 @@ echo "Result: $result<BR>Out: $output<BR>In: $input";
|
|||
<member><literal>"ROWID"</literal></member>
|
||||
<member><literal>"DATE"</literal></member>
|
||||
<member><literal>"CURSOR"</literal></member>
|
||||
</simplelist></para>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
|
||||
<refentry id="function.ora-commit">
|
||||
<refnamediv>
|
||||
<refname>Ora_Commit</refname>
|
||||
|
@ -175,10 +175,10 @@ echo "Result: $result<BR>Out: $output<BR>In: $input";
|
|||
<paramdef>int <parameter>conn</parameter></paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
<para>Returns true on success, false on error. Details about the
|
||||
<para>Returns true on success, false on error. Details about the
|
||||
error can be retrieved using the <function>ora_error</function>
|
||||
and <function>ora_errorcode</function> functions. This function
|
||||
commits an Oracle transaction. A transaction is defined as all
|
||||
and <function>ora_errorcode</function> functions. This function
|
||||
commits an Oracle transaction. A transaction is defined as all
|
||||
the changes on a given connection since the last commit/rollback,
|
||||
autocommit was turned off or when the connection was established.
|
||||
</para>
|
||||
|
@ -199,7 +199,7 @@ echo "Result: $result<BR>Out: $output<BR>In: $input";
|
|||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
<para>
|
||||
Returns true on success, false on error. Details about the error
|
||||
Returns true on success, false on error. Details about the error
|
||||
can be retrieved using the <function>ora_error</function> and
|
||||
<function>ora_errorcode</function> functions.
|
||||
</para>
|
||||
|
@ -228,7 +228,7 @@ echo "Result: $result<BR>Out: $output<BR>In: $input";
|
|||
<function>ora_exec</function> on the given connection.
|
||||
</para>
|
||||
<para>
|
||||
Returns true on success, false on error. Details about the error
|
||||
Returns true on success, false on error. Details about the error
|
||||
can be retrieved using the <function>ora_error</function> and
|
||||
<function>ora_errorcode</function> functions.
|
||||
</para>
|
||||
|
@ -255,7 +255,7 @@ echo "Result: $result<BR>Out: $output<BR>In: $input";
|
|||
It will parse and execute a statement, then fetch the first result row.
|
||||
</para>
|
||||
<para>
|
||||
Returns true on success, false on error. Details about the error
|
||||
Returns true on success, false on error. Details about the error
|
||||
can be retrieved using the <function>ora_error</function> and
|
||||
<function>ora_errorcode</function> functions.
|
||||
See also <function>Ora_Parse</function>,<function>Ora_Exec</function>,
|
||||
|
@ -338,7 +338,7 @@ remove the unique restriction or do not insert the key </computeroutput>
|
|||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
<para>
|
||||
Returns true on success, false on error. Details about the error
|
||||
Returns true on success, false on error. Details about the error
|
||||
can be retrieved using the <function>ora_error</function> and
|
||||
<function>ora_errorcode</function> functions.
|
||||
</para>
|
||||
|
@ -364,9 +364,9 @@ remove the unique restriction or do not insert the key </computeroutput>
|
|||
</funcsynopsis>
|
||||
<para>
|
||||
Returns true (a row was fetched) or false (no more rows, or an
|
||||
error occured). If an error occured, details can be retrieved
|
||||
error occured). If an error occured, details can be retrieved
|
||||
using the <function>ora_error</function> and
|
||||
<function>ora_errorcode</function> functions. If there was no
|
||||
<function>ora_errorcode</function> functions. If there was no
|
||||
error, <function>ora_errorcode</function> will return 0.
|
||||
Retrieves a row of data from the specified cursor.
|
||||
</para>
|
||||
|
@ -433,12 +433,12 @@ echo $results[1];
|
|||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
<para>
|
||||
Returns the column data. If an error occurs, False is returned
|
||||
Returns the column data. If an error occurs, False is returned
|
||||
and <function>ora_errorcode</function>
|
||||
will return a non-zero value. Note, however, that a test for False
|
||||
will return a non-zero value. Note, however, that a test for False
|
||||
on the results from this function may be true in cases where there is
|
||||
not error as well (NULL result, empty string, the number 0, the
|
||||
string "0"). Fetches the data for a column or function
|
||||
string "0"). Fetches the data for a column or function
|
||||
result.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
@ -458,7 +458,7 @@ echo $results[1];
|
|||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
<para>
|
||||
Returns true on success, False on error. Details about the error
|
||||
Returns true on success, False on error. Details about the error
|
||||
can be retrieved using the <function>ora_error</function> and <function>ora_errorcode</function>
|
||||
functions. Logs out the user and disconnects from the
|
||||
server.
|
||||
|
@ -497,7 +497,7 @@ $conn = Ora_Logon("user<emphasis>@TNSNAME</emphasis>", "pass");
|
|||
<para>
|
||||
If you have character data with non-ASCII characters, you should
|
||||
make sure that <envar>NLS_LANG</envar> is set in your
|
||||
environment. For server modules, you should set it in the
|
||||
environment. For server modules, you should set it in the
|
||||
server's environment before starting the server.
|
||||
</para>
|
||||
<para>
|
||||
|
@ -595,7 +595,7 @@ $conn = Ora_Logon("user<emphasis>@TNSNAME</emphasis>", "pass");
|
|||
Opens an Oracle cursor associated with connection.
|
||||
</para>
|
||||
<para>
|
||||
Returns a cursor index or False on failure. Details about the
|
||||
Returns a cursor index or False on failure. Details about the
|
||||
error can be retrieved using the <function>ora_error</function>
|
||||
and <function>ora_errorcode</function> functions.
|
||||
</para>
|
||||
|
@ -619,11 +619,11 @@ $conn = Ora_Logon("user<emphasis>@TNSNAME</emphasis>", "pass");
|
|||
</funcsynopsis>
|
||||
<para>
|
||||
This function parses an SQL statement or a PL/SQL block and
|
||||
associates it with the given cursor. Returns 0 on success or -1 on
|
||||
associates it with the given cursor. Returns 0 on success or -1 on
|
||||
error.
|
||||
</para>
|
||||
<simpara>
|
||||
See also <function>Ora_Exec</function>,
|
||||
See also <function>Ora_Exec</function>,
|
||||
<function>Ora_Fetch</function>, and <function>Ora_Do</function>.
|
||||
</simpara>
|
||||
</refsect1>
|
||||
|
@ -643,12 +643,12 @@ $conn = Ora_Logon("user<emphasis>@TNSNAME</emphasis>", "pass");
|
|||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
<para>
|
||||
This function undoes an Oracle transaction. (See
|
||||
This function undoes an Oracle transaction. (See
|
||||
<function>ora_commit</function> for the definition of a
|
||||
transaction.)
|
||||
</para>
|
||||
<para>
|
||||
Returns true on success, false on error. Details about the error
|
||||
Returns true on success, false on error. Details about the error
|
||||
can be retrieved using the <function>ora_error</function> and
|
||||
<function>ora_errorcode</function> functions.
|
||||
</para>
|
||||
|
|
Loading…
Reference in a new issue