[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/administrator/components/com_actionlogs/src/Model/ -> ActionlogModel.php (summary)

(no description)

Copyright: (C) 2018 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 169 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

ActionlogModel:: (2 methods):
  addLog()
  sendNotificationEmails()


Class: ActionlogModel  - X-Ref

Methods supporting a list of Actionlog records.

addLog($messages, $messageLanguageKey, $context, $userId = null)   X-Ref
Function to add logs to the database
This method adds a record to #__action_logs contains (message_language_key, message, date, context, user)

param: array    $messages            The contents of the messages to be logged
param: string   $messageLanguageKey  The language key of the message
param: string   $context             The context of the content passed to the plugin
param: integer  $userId              ID of user perform the action, usually ID of current logged in user
return: void

sendNotificationEmails($messages, $username, $context)   X-Ref
Send notification emails about the action log

param: array   $messages  The logged messages
param: string  $username  The username
param: string  $context   The Context
return: void



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer