PHP Class Admin_WorkflowController, pimcore

Inheritance: extends Application_Controller_Action
Datei anzeigen Open project: pimcore/pimcore

Public Methods

Method Description
getWorkflowFormAction ( ) Returns a JSON of the available workflow actions to the admin panel
preDispatch ( )
submitWorkflowTransitionAction ( )

Protected Methods

Method Description
getDecorator ( ) : Decorator Returns a Decorator for the Workflow
getLatestVersion ( Document | Asset | Concrete $element ) : Document | Asset | Concrete
getWorkflowManager ( ) : Manager Returns a new workflow manager for the current element

Method Details

getDecorator() protected method

Returns a Decorator for the Workflow
protected getDecorator ( ) : Decorator
return Pimcore\WorkflowManagement\Workflow\Decorator

getLatestVersion() protected method

protected getLatestVersion ( Document | Asset | Concrete $element ) : Document | Asset | Concrete
$element Pimcore\Model\Document | Pimcore\Model\Asset | Pimcore\Model\Object\Concrete
return Pimcore\Model\Document | Pimcore\Model\Asset | Pimcore\Model\Object\Concrete

getWorkflowFormAction() public method

Returns a JSON of the available workflow actions to the admin panel

getWorkflowManager() protected method

Returns a new workflow manager for the current element
protected getWorkflowManager ( ) : Manager
return Pimcore\WorkflowManagement\Workflow\Manager

preDispatch() public method

public preDispatch ( )

submitWorkflowTransitionAction() public method