[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/src/Workflow/ -> WorkflowServiceInterface.php (summary)

Joomla! Content Management System

Copyright: (C) 2018 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 106 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

WorkflowServiceInterface:: (8 methods):
  supportFunctionality()
  getModelName()
  isWorkflowActive()
  filterTransitions()
  getConditions()
  getWorkflowTableBySection()
  getWorkflowContexts()
  getCategoryWorkflowContext()


Interface: WorkflowServiceInterface  - X-Ref

The workflow service.

supportFunctionality($functionality, $context)   X-Ref
Check if the functionality is supported by the context

param: string  $functionality  The functionality
param: string  $context        The context of the functionality
return: boolean

getModelName($context)   X-Ref
Returns the model name, based on the context

param: string  $context  The context of the workflow
return: boolean

isWorkflowActive($context)   X-Ref
Check if the workflow is active

param: string  $context  The context of the workflow
return: boolean

filterTransitions(array $transitions, int $pk)   X-Ref
Method to filter transitions by given id of state.

param: integer[]  $transitions  Array of transitions to filter for
param: integer    $pk           Id of the state on which the transitions are performed
return: array

getConditions(string $extension)   X-Ref
Returns an array of possible conditions for the component.

param: string  $extension  Full extension string
return: array

getWorkflowTableBySection(?string $section = null)   X-Ref
Returns a table name for the state association

param: string  $section  An optional section to differ different areas in the component
return: string

getWorkflowContexts()   X-Ref
Returns valid contexts.

return: array

getCategoryWorkflowContext(?string $section = null)   X-Ref
Returns the workflow context based on the given category section

param: string  $section  The section
return: string|null



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer