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é
Tout Structures de données Espaces de nommage Fichiers Fonctions Variables Pages
Référence de la classe PlgActionlogJoomla
+ Graphe d'héritage de PlgActionlogJoomla:

Fonctions membres publiques

 __construct (&$subject, $config)
 
 onContentAfterSave ($context, $article, $isNew)
 
 onContentAfterDelete ($context, $article)
 
 onContentChangeState ($context, $pks, $value)
 
 onApplicationAfterSave ($config)
 
 onExtensionAfterInstall ($installer, $eid)
 
 onExtensionAfterUninstall ($installer, $eid, $result)
 
 onExtensionAfterUpdate ($installer, $eid)
 
 onExtensionAfterSave ($context, $table, $isNew)
 
 onExtensionAfterDelete ($context, $table)
 
 onUserAfterSave ($user, $isnew, $success, $msg)
 
 onUserAfterDelete ($user, $success, $msg)
 
 onUserAfterSaveGroup ($context, $table, $isNew)
 
 onUserAfterDeleteGroup ($group, $success, $msg)
 
 onUserAfterLogin ($options)
 
 onUserLoginFailure ($response)
 
 onUserLogout ($user, $options=array())
 
 onUserAfterRemind ($user)
 
 onAfterCheckin ($table)
 
 onAfterLogPurge ($group='')
 
 onAfterLogExport ($group='')
 
 onAfterPurge ($group='all')
 
 onJoomlaAfterUpdate ($oldVersion=null)
 

Fonctions membres protégées

 checkLoggable ($extension)
 

Attributs protégés

 $loggableExtensions = array()
 
 $contextAliases = array('com_content.form' => 'com_content.article')
 
- Attributs protégés hérités de ActionLogPlugin
 $app
 
 $db
 
 $autoloadLanguage = true
 

Description détaillée

Joomla! Users Actions Logging Plugin.

Depuis
3.9.0

Documentation des constructeurs et destructeur

◆ __construct()

__construct ( $subject,
  $config 
)

Constructor.

Paramètres
object&$subjectThe object to observe.
array$configAn optional associative array of configuration settings.
Depuis
3.9.0

Références $config, $params, et $subject.

Documentation des fonctions membres

◆ checkLoggable()

checkLoggable (   $extension)
protected

Function to check if a component is loggable or not

Paramètres
string$extensionThe extension that triggered the event
Renvoie
boolean
Depuis
3.9.0

Références $extension.

◆ onAfterCheckin()

onAfterCheckin (   $table)

On after Check-in request

Method is called after user request to check-in items.

Paramètres
array$tableHolds the table name.
Renvoie
void
Depuis
3.9.3

Références $context, $message, $user, et Factory\getUser().

◆ onAfterLogExport()

onAfterLogExport (   $group = '')

On after log export

Method is called after user request to export action log items.

Paramètres
array$groupHolds the group name.
Renvoie
void
Depuis
3.9.4

Références $context, $message, $user, et Factory\getUser().

◆ onAfterLogPurge()

onAfterLogPurge (   $group = '')

On after log action purge

Method is called after user request to clean action log items.

Paramètres
array$groupHolds the group name.
Renvoie
void
Depuis
3.9.4

Références $context, $message, $user, et Factory\getUser().

◆ onAfterPurge()

onAfterPurge (   $group = 'all')

On after Cache purge

Method is called after user request to clean cached items.

Paramètres
string$groupHolds the group name.
Renvoie
void
Depuis
3.9.4

Références $context, $message, et $user.

◆ onApplicationAfterSave()

onApplicationAfterSave (   $config)

On Saving application configuration logging method Method is called when the application config is being saved

Paramètres
JRegistry$configJRegistry object with the new config
Renvoie
void
Depuis
3.9.0

Références $action, $message, et $option.

◆ onContentAfterDelete()

onContentAfterDelete (   $context,
  $article 
)

After delete content logging method This method adds a record to #__action_logs contains (message, date, context, user) Method is called right after the content is deleted

Paramètres
string$contextThe context of the content passed to the plugin
object$articleA JTableContent object
Renvoie
void
Depuis
3.9.0

Références $article, $context, $id, $message, $option, $params, ActionlogsHelper\getLogContentTypeParams(), et null.

◆ onContentAfterSave()

onContentAfterSave (   $context,
  $article,
  $isNew 
)

After save content logging method This method adds a record to #__action_logs contains (message, date, context, user) Method is called right after the content is saved

Paramètres
string$contextThe context of the content passed to the plugin
object$articleA JTableContent object
boolean$isNewIf the content is just about to be created
Renvoie
void
Depuis
3.9.0

Références $article, $context, $id, $message, $option, $params, ActionlogsHelper\getContentTypeLink(), ActionlogsHelper\getLogContentTypeParams(), et null.

◆ onContentChangeState()

onContentChangeState (   $context,
  $pks,
  $value 
)

On content change status logging method This method adds a record to #__action_logs contains (message, date, context, user) Method is called when the status of the article is changed

Paramètres
string$contextThe context of the content passed to the plugin
array$pksAn array of primary key ids of the content that has changed state.
integer$valueThe value of the state that the content has been changed to.
Renvoie
void
Depuis
3.9.0

Références $action, $context, $db, $items, $message, $messages, $option, $params, $query, $value, ActionlogsHelper\getContentTypeLink(), ActionlogsHelper\getLogContentTypeParams(), et null.

◆ onExtensionAfterDelete()

onExtensionAfterDelete (   $context,
  $table 
)

On Deleting extensions logging method Method is called when an extension is being deleted

Paramètres
string$contextThe extension
JTable$tableDataBase Table object
Renvoie
void
Depuis
3.9.0

Références $context, $message, $params, ActionlogsHelper\getLogContentTypeParams(), et null.

◆ onExtensionAfterInstall()

onExtensionAfterInstall (   $installer,
  $eid 
)

On installing extensions logging method This method adds a record to #__action_logs contains (message, date, context, user) Method is called when an extension is installed

Paramètres
JInstaller$installerInstaller object
integer$eidExtension Identifier
Renvoie
void
Depuis
3.9.0

Références $context, $manifest, $message, et null.

◆ onExtensionAfterSave()

onExtensionAfterSave (   $context,
  $table,
  $isNew 
)

On Saving extensions logging method Method is called when an extension is being saved

Paramètres
string$contextThe extension
JTable$tableDataBase Table object
boolean$isNewIf the extension is new or not
Renvoie
void
Depuis
3.9.0

Références $context, $message, $option, $params, ActionlogsHelper\getContentTypeLink(), ActionlogsHelper\getLogContentTypeParams(), et null.

◆ onExtensionAfterUninstall()

onExtensionAfterUninstall (   $installer,
  $eid,
  $result 
)

On uninstalling extensions logging method This method adds a record to #__action_logs contains (message, date, context, user) Method is called when an extension is uninstalled

Paramètres
JInstaller$installerInstaller instance
integer$eidExtension id
integer$resultInstallation result
Renvoie
void
Depuis
3.9.0

Références $context, $manifest, $message, et null.

◆ onExtensionAfterUpdate()

onExtensionAfterUpdate (   $installer,
  $eid 
)

On updating extensions logging method This method adds a record to #__action_logs contains (message, date, context, user) Method is called when an extension is updated

Paramètres
JInstaller$installerInstaller instance
integer$eidExtension id
Renvoie
void
Depuis
3.9.0

Références $context, $manifest, $message, et null.

◆ onJoomlaAfterUpdate()

onJoomlaAfterUpdate (   $oldVersion = null)

On after CMS Update

Method is called after user update the CMS.

Paramètres
string$oldVersionThe Joomla version before the update
Renvoie
void
Depuis
3.9.21

Références $context, $message, et $user.

◆ onUserAfterDelete()

onUserAfterDelete (   $user,
  $success,
  $msg 
)

On deleting user data logging method

Method is called after user data is deleted from the database

Paramètres
array$userHolds the user data
boolean$successTrue if user was successfully stored in the database
string$msgMessage
Renvoie
void
Depuis
3.9.0

Références $context, $message, et $user.

◆ onUserAfterDeleteGroup()

onUserAfterDeleteGroup (   $group,
  $success,
  $msg 
)

On deleting user group data logging method

Method is called after user group is deleted from the database

Paramètres
array$groupHolds the group data
boolean$successTrue if user was successfully stored in the database
string$msgMessage
Renvoie
void
Depuis
3.9.0

Références $context, et $message.

◆ onUserAfterLogin()

onUserAfterLogin (   $options)

Method to log user login success action

Paramètres
array$optionsArray holding options (user, responseType)
Renvoie
void
Depuis
3.9.0

Références $context, $message, et $options.

◆ onUserAfterRemind()

onUserAfterRemind (   $user)

On after Remind username request

Method is called after user request to remind their username.

Paramètres
array$userHolds the user data.
Renvoie
void
Depuis
3.9.0

Références $context, $message, et $user.

◆ onUserAfterSave()

onUserAfterSave (   $user,
  $isnew,
  $success,
  $msg 
)

On saving user data logging method

Method is called after user data is stored in the database. This method logs who created/edited any user's data

Paramètres
array$userHolds the new user data.
boolean$isnewTrue if a new user is stored.
boolean$successTrue if user was successfully stored in the database.
string$msgMessage.
Renvoie
void
Depuis
3.9.0

Références $action, $context, $message, $task, $user, $userId, elseif, et Factory\getUser().

◆ onUserAfterSaveGroup()

onUserAfterSaveGroup (   $context,
  $table,
  $isNew 
)

On after save user group data logging method

Method is called after user group is stored into the database

Paramètres
string$contextThe context
JTable$tableDataBase Table object
boolean$isNewIs new or not
Renvoie
void
Depuis
3.9.0

Références $action, $context, et $message.

◆ onUserLoginFailure()

onUserLoginFailure (   $response)

Method to log user login failed action

Paramètres
array$responseArray of response data.
Renvoie
void
Depuis
3.9.0

Références $context, $message, et $query.

◆ onUserLogout()

onUserLogout (   $user,
  $options = array() 
)

Method to log user's logout action

Paramètres
array$userHolds the user data
array$optionsArray holding options (remember, autoregister, group)
Renvoie
void
Depuis
3.9.0

Références $context, $message, $user, et User\getInstance().

Documentation des champs

◆ $contextAliases

$contextAliases = array('com_content.form' => 'com_content.article')
protected

◆ $loggableExtensions

$loggableExtensions = array()
protected

La documentation de cette classe a été générée à partir du fichier suivant :