yii2-workflow Class Reference
  • Namespace
  • Class

Namespaces

  • raoul2000
    • workflow
      • actions
      • base
      • events
      • helpers
      • source
        • file
      • validation

Classes

  • SimpleWorkflowBehavior
  • Status
  • StatusIdConverter
  • Transition
  • Workflow
  • WorkflowBaseObject
  • WorkflowException
  • WorkflowValidationException

Interfaces

  • IStatusAccessor
  • IStatusIdConverter
  • StatusInterface
  • TransitionInterface
  • WorkflowInterface

Interface TransitionInterface

A transition is a link between a start and an end status.

If status "A" has a transition to status "B", then it only means that it is possible to go from status "A" to status "B".

Direct known implementers

raoul2000\workflow\base\Transition

Namespace: raoul2000\workflow\base
Located at base/TransitionInterface.php

Methods summary

public string
# getId( )

Returns

string
the transition id
public raoul2000\workflow\base\StatusInterface
# getEndStatus( )

Returns the Status instance that is the destination status.

Returns the Status instance that is the destination status.

Returns

raoul2000\workflow\base\StatusInterface
the Status instance this transition ends to
public raoul2000\workflow\base\StatusInterface
# getStartStatus( )

Returns the Status instance that is the starting point fo the transition.

Returns the Status instance that is the starting point fo the transition.

Returns

raoul2000\workflow\base\StatusInterface
the Status instance this transition starts from
yii2-workflow Class Reference API documentation generated by ApiGen