Joomla CMS
3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
|
Fonctions membres publiques | |
__construct (&$subject, $config) | |
onContentPrepareForm ($form, $data) | |
onContentPrepareData ($context, $data) | |
onAfterRespond () | |
onUserAfterSave ($user, $isNew, $success, $msg) | |
onUserAfterDelete ($user, $success, $msg) | |
Fonctions membres publiques statiques | |
static | renderActionlogsNotify ($value) |
static | renderActionlogsExtensions ($extensions) |
Attributs protégés | |
$app | |
$db | |
$autoloadLanguage = true | |
Fonctions membres privées | |
clearCacheGroups (array $clearGroups, array $cacheClients=array(0, 1)) | |
Joomla! Users Actions Logging Plugin.
__construct | ( | & | $subject, |
$config | |||
) |
|
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\getConfig(), Cache\getInstance(), JPATH_ADMINISTRATOR, et JPATH_SITE.
onAfterRespond | ( | ) |
Runs after the HTTP response has been sent to the client and delete log records older than certain days
Références $db, $now, $query, et Factory\getDate().
onContentPrepareData | ( | $context, | |
$data | |||
) |
Runs on content preparation
string | $context | The context for the data |
object | $data | An object containing the data for the form. |
Références $context, $data, $query, et User\getInstance().
onContentPrepareForm | ( | $form, | |
$data | |||
) |
Adds additional fields to the user editing form for logs e-mail notifications
JForm | $form | The form to be altered. |
mixed | $data | The associated data for the form. |
We only allow users who has Super User permission change this setting for himself or for other users who has same Super User permission
Références $data, $form, $user, Factory\getApplication(), User\getInstance(), 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, $query, $user, elseif, et json_encode.
|
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, ActionlogsHelper\loadTranslationFiles(), et JLoader\register().
|
static |
Method to render a value.
integer | string | $value | The value (0 or 1). |
Références $value.
|
protected |
|
protected |
|
protected |