mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
updated <function>...</function> references for PDO::*
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@172449 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
924e7b5e79
commit
ae1c3cc469
6 changed files with 14 additions and 14 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version='1.0' encoding='iso-8859-1'?>
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<!-- $Revision: 1.5 $ -->
|
||||
<refentry id='function.pdo-beginTransaction'>
|
||||
<refnamediv>
|
||||
<refname>PDO::beginTransaction</refname>
|
||||
|
@ -13,8 +13,8 @@
|
|||
</methodsynopsis>
|
||||
&warn.experimental.func;
|
||||
<para>
|
||||
Turns off autocommit mode. Call <function>commit</function> or
|
||||
<function>rollback</function> to end the transaction and return to
|
||||
Turns off autocommit mode. Call <function>PDO::commit</function> or
|
||||
<function>PDO::rollback</function> to end the transaction and return to
|
||||
autocommit mode.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version='1.0' encoding='iso-8859-1'?>
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<!-- $Revision: 1.5 $ -->
|
||||
<refentry id='function.pdo-commit'>
|
||||
<refnamediv>
|
||||
<refname>PDO::commit</refname>
|
||||
|
@ -14,7 +14,7 @@
|
|||
&warn.experimental.func;
|
||||
<para>
|
||||
Commits a transaction, returning the database connection to autocommit
|
||||
mode until the next call to <function>beginTransaction</function>
|
||||
mode until the next call to <function>PDO::beginTransaction</function>
|
||||
starts a new transaction.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version='1.0' encoding='iso-8859-1'?>
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<!-- $Revision: 1.5 $ -->
|
||||
<refentry id='function.pdo-execute'>
|
||||
<refnamediv>
|
||||
<refname>PDO::execute</refname>
|
||||
|
@ -16,7 +16,7 @@
|
|||
Execute the prepared statement. If the prepared statement included
|
||||
parameter markers, you must either:
|
||||
<itemizedlist>
|
||||
<listitem><para>call <function>bindParam</function> to bind PHP variables
|
||||
<listitem><para>call <function>PDO::bindParam</function> to bind PHP variables
|
||||
to the parameter markers: bound variables pass their value as input and receive the
|
||||
output value, if any, of their associated parameter markers</para></listitem>
|
||||
<listitem><para>or pass an array of parameter values</para></listitem>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version='1.0' encoding='iso-8859-1'?>
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<!-- $Revision: 1.5 $ -->
|
||||
<refentry id='function.pdo-fetch'>
|
||||
<refnamediv>
|
||||
<refname>PDO::fetch</refname>
|
||||
|
@ -43,7 +43,7 @@
|
|||
<listitem><para>
|
||||
<literal>PDO_FETCH_BOUND</literal>: returns &true; and assigns the
|
||||
values of the columns in your result set to the PHP variables to which
|
||||
they were bound with the <function>bindParam</function> method
|
||||
they were bound with the <function>PDO::bindParam</function> method
|
||||
</para></listitem>
|
||||
</itemizedlist>
|
||||
</para>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version='1.0' encoding='iso-8859-1'?>
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<!-- $Revision: 1.5 $ -->
|
||||
<refentry id='function.pdo-prepare'>
|
||||
<refnamediv>
|
||||
<refname>PDO::prepare</refname>
|
||||
|
@ -14,7 +14,7 @@
|
|||
&warn.experimental.func;
|
||||
<para>
|
||||
Prepares an SQL statement to be executed by the statement-handle
|
||||
<function>execute</function> method. The SQL statement can contain zero
|
||||
<function>PDO::execute</function> method. The SQL statement can contain zero
|
||||
or more parameter markers.
|
||||
</para>
|
||||
<example><title>Execute a prepared statement by passing an array of
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version='1.0' encoding='iso-8859-1'?>
|
||||
<!-- $Revision: 1.2 $ -->
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<refentry id='function.pdo'>
|
||||
<refnamediv>
|
||||
<refname>PDO</refname>
|
||||
|
@ -32,8 +32,8 @@
|
|||
</para>
|
||||
<para>
|
||||
Connections are automatically in autocommit mode. Invoke the
|
||||
<function>beginTransaction</function> method to turn off autocommit, and
|
||||
call <function>commit</function> or <function>rollback</function> to end
|
||||
<function>PDO::beginTransaction</function> method to turn off autocommit, and
|
||||
call <function>PDO::commit</function> or <function>PDO::rollback</function> to end
|
||||
the transaction. PDO automatically rolls back transactions that are ended
|
||||
by a closed connection handle.
|
||||
</para>
|
||||
|
|
Loading…
Reference in a new issue