PHP Class Pheasant\Database\Mysqli\Transaction

Afficher le fichier Open project: lox/pheasant Class Usage Examples

Méthodes publiques

Свойство Type Description
$results

Méthodes publiques

Méthode Description
__construct ( $connection = null ) Constructor
callback ( $callback ) Adds a callback that gets passed any extra varargs as a arguments
create ( $closure, $execute = true ) : Transaction Creates a transaction and optionally execute a transaction
deferEvents ( $events ) Links another Events object such that events in it are corked until either commit/rollback and then uncorked
events ( ) : Events Get the events object
execute ( )

Method Details

__construct() public méthode

Constructor
public __construct ( $connection = null )

callback() public méthode

Adds a callback that gets passed any extra varargs as a arguments
public callback ( $callback )

create() public static méthode

Creates a transaction and optionally execute a transaction
public static create ( $closure, $execute = true ) : Transaction
Résultat Transaction

deferEvents() public méthode

Links another Events object such that events in it are corked until either commit/rollback and then uncorked
public deferEvents ( $events )

events() public méthode

Get the events object
public events ( ) : Events
Résultat Events

execute() public méthode

public execute ( )

Property Details

$results public_oe property

public $results