v5:reference:connection:starttrans
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
reference:starttrans [2015/08/07 03:11] – created mnewnham | v5:reference:connection:starttrans [2016/08/13 19:06] (current) – mnewnham | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== startTrans ====== | ====== startTrans ====== | ||
~~NOTOC~~ | ~~NOTOC~~ | ||
- | <WRAP right box> | + | <WRAP right box 300px> |
== See Also == | == See Also == | ||
- | [[reference: | + | [[v5:reference:connection: |
- | + | [[v5:reference:connection: | |
- | [[reference: | + | |
== Syntax == | == Syntax == | ||
- | void startTrans() | + | void startTrans( |
+ | | ||
+ | ) | ||
</ | </ | ||
===== Description ===== | ===== Description ===== | ||
- | The function '' | + | The function '' |
+ | |||
+ | The optional monitor function is called when a transaction fails. This monitor function can be used to control the behaviour of a transaction if it fails. The default for this function if not set is '' | ||
+ | |||
+ | ------------------------------------- | ||
===== Usage ===== | ===== Usage ===== | ||
<code php> | <code php> | ||
Line 20: | Line 25: | ||
$db-> | $db-> | ||
</ | </ | ||
- | + | {{tag> |
v5/reference/connection/starttrans.1438909898.txt.gz · Last modified: 2017/04/21 11:32 (external edit)