Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Structures de données | |
class | Workflow |
interface | WorkflowServiceInterface |
Fonctions | |
supportFunctionality ($functionality, $context) | |
isFunctionalityUsed ($functionality, $extension) | |
getModelName ($context) | |
static | getConditions (string $extension) |
isWorkflowActive ($context) | |
Variables | |
trait | WorkflowServiceTrait |
Joomla! Content Management System
Joomla! Content Management System
Joomla! Content Management System
|
static |
Returns an array of possible conditions for the component.
string | $extension | The component and section separated by ".". |
Références Workflow\CONDITION_NAMES.
Joomla\CMS\Workflow\getModelName | ( | $context | ) |
Returns the model name, based on the context
string | $context | The context of the workflow |
Références $context, et $parts.
Référencé par Joomla\CMS\Workflow\isWorkflowActive().
Joomla\CMS\Workflow\isFunctionalityUsed | ( | $functionality, | |
$extension | |||
) |
Check if the functionality is used by a plugin
string | $functionality | The functionality |
string | $extension | The extension |
Références $app, $extension, $this, AbstractEvent\create(), et Factory\getApplication().
Joomla\CMS\Workflow\isWorkflowActive | ( | $context | ) |
Check if the workflow is active
string | $context | The context of the workflow |
Références $component, $config, $context, $model, $parts, Factory\getApplication(), Joomla\CMS\Workflow\getModelName(), Joomla\CMS\MVC\Factory\getMVCFactory(), et ComponentHelper\getParams().
Joomla\CMS\Workflow\supportFunctionality | ( | $functionality, | |
$context | |||
) |
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', ], ]
string | $functionality | The functionality |
string | $context | The context of the functionality |
Références $context.
Référencé par PlgWorkflowFeaturing\isSupported(), et PlgWorkflowPublishing\isSupported().
trait WorkflowServiceTrait |
Trait for component workflow service.