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 | |
addLog ($messages, $messageLanguageKey, $context, $userId=null) | |
Fonctions membres protégées | |
sendNotificationEmails ($messages, $username, $context) | |
Methods supporting a list of Actionlog records.
addLog | ( | $messages, | |
$messageLanguageKey, | |||
$context, | |||
$userId = null |
|||
) |
Function to add logs to the database This method adds a record to #__action_logs contains (message_language_key, message, date, context, user)
array | $messages | The contents of the messages to be logged |
string | $messageLanguageKey | The language key of the message |
string | $context | The context of the content passed to the plugin |
integer | $userId | ID of user perform the action, usually ID of current logged in user |
Références $context, $date, $db, $message, $messages, $params, $user, $userId, Factory\getDate(), Factory\getUser(), et json_encode.
|
protected |
Send notification emails about the action log
array | $messages | The logged messages |
string | $username | The username |
string | $context | The Context |
Références $context, $db, $displayData, $extension, $layout, $message, $messages, $params, $query, $showIpColumn, $user, $users, ActionlogsHelper\getHumanReadableLogMessage(), Factory\getMailer(), JPATH_ADMINISTRATOR, ActionlogsHelper\loadTranslationFiles(), et JError\raiseWarning().