Documentation

PdbTransaction extends DataObject
in package

This represents a transaction or savepoint.

Table of Contents

Properties

$key  : string|false
$parent  : string|false
$pdb  : Pdb
$readonly  : bool

Methods

__construct()  : mixed
commit()  : bool
Commit the transaction or savepoint.
isActive()  : bool
Is this transaction active?
isSavepoint()  : bool
Is this a savepoint?
rollback()  : bool
Rollback the transaction or savepoint.
update()  : void

Properties

Methods

__construct()

public __construct([iterable<string|int, mixed> $config = [] ]) : mixed
Parameters
$config : iterable<string|int, mixed> = []

isActive()

Is this transaction active?

public isActive() : bool
Return values
bool

isSavepoint()

Is this a savepoint?

public isSavepoint() : bool
Return values
bool

update()

public update(iterable<string|int, mixed> $config) : void
Parameters
$config : iterable<string|int, mixed>
On this page

Search results