Skip to content

Commit 161c176

Browse files
committed
docs: replace function with method
1 parent 2a33c1f commit 161c176

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

user_guide_src/source/database/transactions.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@ Running Transactions
3636
====================
3737

3838
To run your queries using transactions you will use the
39-
``$this->db->transStart()`` and ``$this->db->transComplete()`` functions as
39+
``$this->db->transStart()`` and ``$this->db->transComplete()`` methods as
4040
follows:
4141

4242
.. literalinclude:: transactions/001.php
4343

44-
You can run as many queries as you want between the start/complete
45-
functions and they will all be committed or rolled back based on the success
44+
You can run as many queries as you want between the ``transStart()``/``transComplete()``
45+
methods and they will all be committed or rolled back based on the success
4646
or failure of any given query.
4747

4848
Strict Mode
@@ -84,7 +84,7 @@ Test Mode
8484
You can optionally put the transaction system into "test mode", which
8585
will cause your queries to be rolled back -- even if the queries produce
8686
a valid result. To use test mode simply set the first parameter in the
87-
``$this->db->transStart()`` function to true:
87+
``$this->db->transStart()`` method to true:
8888

8989
.. literalinclude:: transactions/005.php
9090

0 commit comments

Comments
 (0)