Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
__construct (&$subject, $config) | |
onAfterInitialise () | |
onContentPrepareForm (Form $form, $data) | |
onContentPrepareData ($context, $data) | |
onAfterRespond () | |
onUserAfterSave ($user, $isNew, $success, $msg) | |
onUserAfterDelete ($user, $success, $msg) | |
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 | renderActionlogsNotify ($value) |
static | renderActionlogsExtensions ($extensions) |
Attributs protégés | |
$app | |
$db | |
Attributs protégés hérités de CMSPlugin | |
$_name = null | |
$_type = null | |
$autoloadLanguage = false | |
$allowLegacyListeners = true | |
Fonctions membres privées | |
clearCacheGroups (array $clearGroups, array $cacheClients=[0, 1]) | |
Membres hérités additionnels | |
Champs de données hérités de CMSPlugin | |
$params = null | |
Fonctions membres protégées hérités de CMSPlugin | |
registerLegacyListener (string $methodName) | |
registerListener (string $methodName) | |
getApplication () | |
Joomla! Users Actions Logging Plugin.
__construct | ( | & | $subject, |
$config | |||
) |
Constructor.
object | $subject | The object to observe. |
array | $config | An optional associative array of configuration settings. |
Références $config, $subject, et Symfony\Contracts\Service\__construct().
|
private |
Clears cache groups. We use it to clear the plugins cache after we update the last run timestamp.
array | $clearGroups | The cache groups to clean |
array | $cacheClients | The cache clients (site, admin) to clean |
Références $clientId, $options, Factory\getApplication(), JPATH_ADMINISTRATOR, et JPATH_SITE.
onAfterInitialise | ( | ) |
Listener for the onAfterInitialise
event
onAfterRespond | ( | ) |
onContentPrepareData | ( | $context, | |
$data | |||
) |
onContentPrepareForm | ( | Form | $form, |
$data | |||
) |
Adds additional fields to the user editing form for logs e-mail notifications
Form | $form | The form to be altered. |
mixed | $data | The associated data for the form. |
Exception |
We only allow users who have Super User permission to change this setting for themselves or for other users who have the same Super User permission
Références $data, $form, $user, __DIR__, Factory\getApplication(), et Factory\getUser().
onUserAfterDelete | ( | $user, | |
$success, | |||
$msg | |||
) |
onUserAfterSave | ( | $user, | |
$isNew, | |||
$success, | |||
$msg | |||
) |
Utility method to act on a user after it has been saved.
array | $user | Holds the new user data. |
boolean | $isNew | True if a new user is stored. |
boolean | $success | True if user was successfully stored in the database. |
string | $msg | Message. |
Références $authorised, $columns, $db, $extension, $query, $user, et elseif.
|
static |
Method to render a list of extensions.
array | string | $extensions | Array of extensions or an empty string if none selected. |
Références $extension, JPATH_ADMINISTRATOR, et JLoader\register().
|
static |
Method to render a value.
integer | string | $value | The value (0 or 1). |
Références $value.
|
protected |
|
protected |