PHP Class raoul2000\workflow\events\ReducedEventSequence

See also: raoul2000\workflow\events\IEventSequence
Inheritance: extends yii\base\Object, implements raoul2000\workflow\events\IEventSequence
Show file Open project: raoul2000/yii2-workflow

Public Methods

Method Description
createChangeStatusSequence ( $transition, $sender ) Produces the following sequence when a model changes from status A to status B:
createEnterWorkflowSequence ( $initalStatus, $sender ) Produces the following sequence when a model enters a workflow :
createLeaveWorkflowSequence ( $finalStatus, $sender ) Produces the following sequence when a model leaves a workflow :

Method Details

createChangeStatusSequence() public method

- beforeChangeStatus(A,B) - afterChangeStatus(A,B)
See also: raoul2000\workflow\events\IEventSequence::createChangeStatusSequence()
public createChangeStatusSequence ( $transition, $sender )

createEnterWorkflowSequence() public method

- beforeEnterWorkflow(WID) - afterEnterWorkflow(WID)
See also: raoul2000\workflow\events\IEventSequence::createEnterWorkflowSequence()
public createEnterWorkflowSequence ( $initalStatus, $sender )

createLeaveWorkflowSequence() public method

- beforeLeaveWorkflow(WID) - afterLeaveWorkflow(WID)
See also: raoul2000\workflow\events\IEventSequence::createLeaveWorkflowSequence()
public createLeaveWorkflowSequence ( $finalStatus, $sender )