[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

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

Joomla! Content Management System

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

Defines 5 functions

  supportFunctionality()
  isFunctionalityUsed()
  getModelName()
  getConditions()
  isWorkflowActive()

Functions
Functions that are not part of a class:

supportFunctionality($functionality, $context)   X-Ref
Check if the functionality is supported by the component
The variable $supportFunctionality has the following structure
[
'core.featured' => [
'com_content.article',
],
'core.state' => [
'com_content.article',
],
]

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

isFunctionalityUsed($functionality, $extension)   X-Ref
Check if the functionality is used by a plugin

param: string  $functionality  The functionality
param: string  $extension      The extension
return: boolean

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

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

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

param: string  $extension  The component and section separated by ".".
return: array

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

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



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