Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
onAfterInitialise () | |
onUserLogout ($user, $options) | |
onUserBeforeSave ($user, $isnew, $data) | |
Fonctions membres publiques hérités de CMSPlugin | |
__construct (&$subject, $config=array()) | |
loadLanguage ($extension='', $basePath=JPATH_ADMINISTRATOR) | |
setApplication (CMSApplicationInterface $application) | |
Fonctions membres publiques hérités de DispatcherAwareInterface | |
setDispatcher (DispatcherInterface $dispatcher) | |
Fonctions membres publiques hérités de PluginInterface | |
registerListeners () | |
Attributs protégés | |
$app | |
$db | |
Attributs protégés hérités de CMSPlugin | |
$_name = null | |
$_type = null | |
$autoloadLanguage = false | |
$allowLegacyListeners = true | |
Membres hérités additionnels | |
Champs de données hérités de CMSPlugin | |
$params = null | |
Fonctions membres protégées hérités de CMSPlugin | |
registerLegacyListener (string $methodName) | |
registerListener (string $methodName) | |
getApplication () | |
Joomla! System Remember Me Plugin
onAfterInitialise | ( | ) |
Remember me method to run onAfterInitialise Only purpose is to initialise the login authentication process if a cookie is present
InvalidArgumentException |
onUserBeforeSave | ( | $user, | |
$isnew, | |||
$data | |||
) |
Method is called before user data is stored in the database Invalidate all existing remember-me cookies after a password change
array | $user | Holds the old user data. |
boolean | $isnew | True if a new user is stored. |
array | $data | Holds the new user data. |
onUserLogout | ( | $user, | |
$options | |||
) |
Imports the authentication plugin on user logout to make sure that the cookie is destroyed.
array | $user | Holds the user data. |
array | $options | Array holding options (remember, autoregister, group). |
|
protected |
|
protected |