PHP Interface raoul2000\workflow\base\WorkflowInterface

Show file Open project: raoul2000/yii2-workflow

Public Methods

Method Description
getAllStatuses ( ) : raoul2000\workflow\base\StatusInterface[] Returns an array containing all Status instances belonging to this workflow.
getId ( ) : string Returns the id of this workflow
getInitialStatus ( ) : raoul2000\workflow\base\StatusInterface Returns the initial status instance for this workflow.
getInitialStatusId ( ) : string Returns the id of the initial status for this workflow.

Method Details

getAllStatuses() public method

Returns an array containing all Status instances belonging to this workflow.
public getAllStatuses ( ) : raoul2000\workflow\base\StatusInterface[]
return raoul2000\workflow\base\StatusInterface[] status list belonging to this workflow

getId() public method

Returns the id of this workflow
public getId ( ) : string
return string the workflow id

getInitialStatus() public method

Returns the initial status instance for this workflow.
public getInitialStatus ( ) : raoul2000\workflow\base\StatusInterface
return raoul2000\workflow\base\StatusInterface the initial status instance

getInitialStatusId() public method

Returns the id of the initial status for this workflow.
public getInitialStatusId ( ) : string
return string status id