PHP Class Pimcore\WorkflowManagement\Workflow\Decorator

Show file Open project: pimcore/pimcore Class Usage Examples

Public Properties

Property Type Description
$workflow Pimcore\WorkflowManagement\Workflow

Public Methods

Method Description
__construct ( null $workflow = null )
getActionLabel ( $actionName )
getAvailableActionsForForm ( $actionConfigs )
getAvailableStatesForForm ( $stateConfigs )
getAvailableStatusesForForm ( $statusConfigs )
getNoteTitle ( $actionName, $formData )
getNoteType ( $actionName, $formData ) : string Returns the note type title
getStatusLabel ( $statusName )

Private Methods

Method Description
translateLabel ( $key )

Method Details

__construct() public method

public __construct ( null $workflow = null )
$workflow null Workflow

getActionLabel() public method

public getActionLabel ( $actionName )

getAvailableActionsForForm() public method

public getAvailableActionsForForm ( $actionConfigs )

getAvailableStatesForForm() public method

public getAvailableStatesForForm ( $stateConfigs )

getAvailableStatusesForForm() public method

public getAvailableStatusesForForm ( $statusConfigs )

getNoteTitle() public method

public getNoteTitle ( $actionName, $formData )

getNoteType() public method

Returns the note type title
public getNoteType ( $actionName, $formData ) : string
$actionName
return string

getStatusLabel() public method

public getStatusLabel ( $statusName )

Property Details

$workflow public property

public Workflow,Pimcore\WorkflowManagement $workflow
return Pimcore\WorkflowManagement\Workflow