Back to Joomla project (class list)

Class WorkflowServiceInterface - list of methods

The workflow service.
Package: Joomla\CMS\Workflow
Copyright: (C) 2018 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
Located at: Joomla/Workflow/WorkflowServiceInterface.php
Project: Joomla

Method Summary

public bool
(mixed $functionality, mixed $context)

Check if the functionality is supported by the context
Parameters
  • string $functionality The functionality
  • string $context The context of the functionality
Returns
  • bool
Since
  • 4.0.0
Show source code of this method: supportFunctionality Source Code

public bool
(mixed $context)

Returns the model name, based on the context
Parameters
  • string $context The context of the workflow
Returns
  • bool
Show source code of this method: getModelName Source Code

public bool
(mixed $context)

Check if the workflow is active
Parameters
  • string $context The context of the workflow
Returns
  • bool
Show source code of this method: isWorkflowActive Source Code

public array
(array $transitions, int $pk)

Method to filter transitions by given id of state.
Parameters
  • int[] $transitions Array of transitions to filter for
  • int $pk Id of the state on which the transitions are performed
Returns
  • array
Since
  • 4.0.0
Show source code of this method: filterTransitions Source Code

public static array
(string $extension)

Returns an array of possible conditions for the component.
Parameters
  • string $extension Full extension string
Returns
  • array
Since
  • 4.0.0
Show source code of this method: getConditions Source Code

public string
(?string $section = null)

Returns a table name for the state association
Parameters
  • string $section An optional section to differ different areas in the component
Returns
  • string
Since
  • 4.0.0
Show source code of this method: getWorkflowTableBySection Source Code

public array
()

Returns valid contexts.
Returns
  • array
Since
  • 4.0.0
Show source code of this method: getWorkflowContexts Source Code

public string|null
(?string $section = null)

Returns the workflow context based on the given category section
Parameters
  • string $section The section
Returns
  • string|null
Since
  • 4.0.0
Show source code of this method: getCategoryWorkflowContext Source Code

Tags Summary

Since
4.0.0