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 IStatusIdConverter

The interface for status ID converters.

A status ID converter is dedicated to provide a conversion between status ID which are valid for the SimpleWorkflow behavior, and status ID that can be stored in the configured status column in the underlying table.

Direct known implementers

raoul2000\workflow\base\StatusIdConverter

Namespace: raoul2000\workflow\base
See: raoul2000\workflow\base\StatusIdConverter
Located at base/IStatusIdConverter.php

Methods summary

public
# toSimpleWorkflow( mixed $statusId )

Converts the status ID passed as argument into a status ID compatible with the simpleWorkflow.

Converts the status ID passed as argument into a status ID compatible with the simpleWorkflow.

Parameters

$statusId
public
# toModelAttribute( mixed $statusId )

Converts the status ID passed as argument into a value that is compatible with the owner model attribute configured to store the simpleWorkflow status ID.

Converts the status ID passed as argument into a value that is compatible with the owner model attribute configured to store the simpleWorkflow status ID.

Parameters

$statusId
yii2-workflow Class Reference API documentation generated by ApiGen