[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

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

Joomla! Content Management System

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

Defines 5 functions

  enhanceWorkflowTransitionForm()
  getWorkflow()
  isSupported()
  checkAllowedAndForbiddenlist()
  checkExtensionSupport()

Functions
Functions that are not part of a class:

enhanceWorkflowTransitionForm(Form $form, $data)   X-Ref
Add different parameter options to the transition view, we need when executing the transition

param: Form      $form The form
param: \stdClass $data The data
return: boolean

getWorkflow(int $workflowId = null)   X-Ref
Get the workflow for a given ID

param: int|null $workflowId ID of the workflow
return: CMSObject|boolean  Object on success, false on failure.

isSupported($context)   X-Ref
Check if the current plugin should execute workflow related activities

param: string $context Context to check
return: boolean

checkAllowedAndForbiddenlist($context)   X-Ref
Check if the context is listed in the allowed of forbidden lists and return the result.

param: string $context Context to check
return: boolean

checkExtensionSupport($context, $functionality)   X-Ref
Check if the context supports a specific functionality.

param: string  $context       Context to check
param: string  $functionality The functionality
return: boolean



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