Orpheus

TransactionOperation
in package

AbstractYes

Table of Contents

Properties

$class  : PermanentEntity>
The class of this operation
$isValid  : bool
If this Operation is valid
$sqlAdapter  : AbstractSqlAdapter|null
The SQL Adapter
$transactionOperationSet  : TransactionOperationSet|null
The transaction set

Methods

__construct()  : mixed
Constructor
getSqlAdapter()  : AbstractSqlAdapter|null
Get the SQL Adapter
getTransactionOperationSet()  : TransactionOperationSet
Get the TransactionOperationSet
isValid()  : bool
If this operation is valid
run()  : mixed
Run this operation
runIfValid()  : mixed
Run this operation only if valid
setSqlAdapter()  : static
Set the SQL Adapter
setTransactionOperationSet()  : static
Set the TransactionOperationSet
validate()  : mixed
Validate this operation
setIsValid()  : static
Set this operation validity

Properties

Methods

__construct()

Constructor

public __construct(string $class) : mixed
Parameters
$class : string

validate()

Validate this operation

public abstract validate([int &$errors = 0 ]) : mixed
Parameters
$errors : int = 0

setIsValid()

Set this operation validity

protected setIsValid(bool $valid) : static
Parameters
$valid : bool
Return values
static

							
On this page

Search results