[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Source view] [Print] [Project Stats]
(no description)
Copyright: | (C) 2018 Open Source Matters, Inc. |
License: | GNU General Public License version 2 or later; see LICENSE.txt |
File Size: | 549 lines (13 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
PlgSystemActionLogs:: (10 methods):
__construct()
onAfterInitialise()
onContentPrepareForm()
onContentPrepareData()
onAfterRespond()
clearCacheGroups()
onUserAfterSave()
onUserAfterDelete()
renderActionlogsNotify()
renderActionlogsExtensions()
Class: PlgSystemActionLogs - X-Ref
Joomla! Users Actions Logging Plugin.__construct(&$subject, $config) X-Ref |
Constructor. param: object $subject The object to observe. param: array $config An optional associative array of configuration settings. |
onAfterInitialise() X-Ref |
Listener for the `onAfterInitialise` event return: void |
onContentPrepareForm(Form $form, $data) X-Ref |
Adds additional fields to the user editing form for logs e-mail notifications param: Form $form The form to be altered. param: mixed $data The associated data for the form. return: boolean |
onContentPrepareData($context, $data) X-Ref |
Runs on content preparation param: string $context The context for the data param: object $data An object containing the data for the form. return: boolean |
onAfterRespond() X-Ref |
Runs after the HTTP response has been sent to the client and delete log records older than certain days return: void |
clearCacheGroups(array $clearGroups, array $cacheClients = [0, 1]) X-Ref |
Clears cache groups. We use it to clear the plugins cache after we update the last run timestamp. param: array $clearGroups The cache groups to clean param: array $cacheClients The cache clients (site, admin) to clean return: void |
onUserAfterSave($user, $isNew, $success, $msg) X-Ref |
Utility method to act on a user after it has been saved. param: array $user Holds the new user data. param: boolean $isNew True if a new user is stored. param: boolean $success True if user was successfully stored in the database. param: string $msg Message. return: void |
onUserAfterDelete($user, $success, $msg) X-Ref |
Removes user preferences Method is called after user data is deleted from the database param: array $user Holds the user data param: boolean $success True if user was successfully stored in the database param: string $msg Message return: void |
renderActionlogsNotify($value) X-Ref |
Method to render a value. param: integer|string $value The value (0 or 1). return: string The rendered value. |
renderActionlogsExtensions($extensions) X-Ref |
Method to render a list of extensions. param: array|string $extensions Array of extensions or an empty string if none selected. return: string The rendered value. |
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |