ActionLog
in package
Table of Contents
Properties
- $data : mixed
- $extension : mixed
Methods
- __construct() : mixed
- enabled() : mixed
- Determines if actionlog feature is enabled or not from the 'Events To Log' option
- exists() : mixed
- Determines if actionlog feature exists on the current installed Joomla version since action log only exists from 3.9.x
- getModel() : mixed
- Retrieve the action log model from Joomla
- log() : mixed
- Performs the logging for the extension
Properties
$data
private
mixed
$data
= ['action' => '', 'title' => '', 'extension_name' => '']
$extension
private
mixed
$extension
= null
Methods
__construct()
public
__construct(mixed $extension) : mixed
Parameters
- $extension : mixed
enabled()
Determines if actionlog feature is enabled or not from the 'Events To Log' option
public
enabled() : mixed
Tags
exists()
Determines if actionlog feature exists on the current installed Joomla version since action log only exists from 3.9.x
public
exists() : mixed
Tags
getModel()
Retrieve the action log model from Joomla
public
getModel() : mixed
Tags
log()
Performs the logging for the extension
public
log(mixed $actionString, mixed $context[, mixed $data = [] ]) : mixed
Parameters
- $actionString : mixed
- $context : mixed
- $data : mixed = []