Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
onContentPrepareForm (EventInterface $event) | |
onWorkflowAfterTransition (WorkflowTransitionEvent $event) | |
Fonctions membres publiques hérités de CMSPlugin | |
__construct (&$subject, $config=array()) | |
loadLanguage ($extension='', $basePath=JPATH_ADMINISTRATOR) | |
setApplication (CMSApplicationInterface $application) | |
Fonctions membres publiques hérités de DispatcherAwareInterface | |
setDispatcher (DispatcherInterface $dispatcher) | |
Fonctions membres publiques hérités de PluginInterface | |
registerListeners () | |
Fonctions membres publiques statiques | |
static | getSubscribedEvents () |
Fonctions membres protégées | |
isSupported ($context) | |
Fonctions membres protégées hérités de CMSPlugin | |
registerLegacyListener (string $methodName) | |
registerListener (string $methodName) | |
getApplication () | |
Attributs protégés | |
$autoloadLanguage = true | |
$app | |
$db | |
Attributs protégés hérités de CMSPlugin | |
$_name = null | |
$_type = null | |
$autoloadLanguage = false | |
$allowLegacyListeners = true | |
Fonctions membres privées | |
getUsersFromGroup ($data) | |
removeLocked (array $userIds) | |
Membres hérités additionnels | |
Champs de données hérités de CMSPlugin | |
$params = null | |
Workflow Notification Plugin
|
static |
Returns an array of events this subscriber will listen to.
Implémente SubscriberInterface.
|
private |
|
protected |
Check if the current plugin should execute workflow related activities
string | $context |
Références $component, $context, et $parts.
onContentPrepareForm | ( | EventInterface | $event | ) |
The form event.
Form | $form | The form |
stdClass | $data | The data |
Références $context, $data, $form, et EventInterface\getArgument().
onWorkflowAfterTransition | ( | WorkflowTransitionEvent | $event | ) |
Send a Notification to defined users a transition is performed
string | $context | The context for the content passed to the plugin. |
array | $pks | A list of primary key ids of the content that has changed stage. |
object | $data | Object containing data about the transition |
Références $component, $container, $context, $item, $key, $lang, $message, $model, $title, $user, class, AbstractEvent\getArgument(), et Joomla\DI\getContainer().
|
private |
Remove receivers who have locked their message inputbox
array | $userIds | The userIds which must be checked |
Références $query.
|
protected |
|
protected |
|
protected |