reference/pdo/pdo/begintransaction.xml
661e6858acade9f5a08fc8f9c07b605f42f4a700
...
...
@@ -10,15 +10,15 @@
10
10

11
11
<refsect1 role="description">
12
12
&reftitle.description;
13
-
<methodsynopsis>
13
+
<methodsynopsis role="PDO">
14
14
<modifier>public</modifier> <type>bool</type><methodname>PDO::beginTransaction</methodname>
15
15
<void/>
16
16
</methodsynopsis>
17
17
<para>
18
18
Turns off autocommit mode. While autocommit mode is turned off, changes
19
19
made to the database via the PDO object instance are not committed until
20
-
you end the transaction by calling <function>PDO::commit</function>.
21
-
Calling <function>PDO::rollBack</function> will roll back all changes to
20
+
you end the transaction by calling <methodname>PDO::commit</methodname>.
21
+
Calling <methodname>PDO::rollBack</methodname> will roll back all changes to
22
22
the database and return the connection to autocommit mode.
23
23
</para>
24
24
<para>
...
...
@@ -31,6 +31,11 @@
31
31

32
32
</refsect1>
33
33

34
+
<refsect1 role="parameters">
35
+
&reftitle.parameters;
36
+
&no.function.parameters;
37
+
</refsect1>
38
+

34
39
<refsect1 role="returnvalues">
35
40
&reftitle.returnvalues;
36
41
<para>
...
...
@@ -83,15 +88,14 @@ $dbh->rollBack();
83
88
&reftitle.seealso;
84
89
<para>
85
90
<simplelist>
86
-
<member><function>PDO::commit</function></member>
87
-
<member><function>PDO::rollBack</function></member>
91
+
<member><methodname>PDO::commit</methodname></member>
92
+
<member><methodname>PDO::rollBack</methodname></member>
88
93
<member><link linkend="pdo.transactions">Transactions and auto-commit</link></member>
89
94
</simplelist>
90
95
</para>
91
96
</refsect1>
92
97

93
98
</refentry>
94
-

95
99
<!-- Keep this comment at the end of the file
96
100
Local variables:
97
101
mode: sgml
98
102