Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
onUserAfterSave ($user, $isnew, $success, $msg) | |
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 () | |
Fonctions membres protégées | |
generateAliasAndName ($alias, $name, $categoryId) | |
getContactTable () | |
Fonctions membres protégées hérités de CMSPlugin | |
registerLegacyListener (string $methodName) | |
registerListener (string $methodName) | |
getApplication () | |
Attributs protégés | |
$autoloadLanguage = true | |
$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 | |
Class for Contact Creator
A tool to automatically create and synchronise contacts with a user
|
protected |
Method to change the name & alias if alias is already in use
string | $alias | The alias. |
string | $name | The name. |
integer | $categoryId | Category identifier |
Références $name.
|
protected |
Get an instance of the contact table
onUserAfterSave | ( | $user, | |
$isnew, | |||
$success, | |||
$msg | |||
) |
Utility method to act on a user after it has been saved.
This method creates a contact for the saved user
array | $user | Holds the new user data. |
boolean | $isnew | True if a new user is stored. |
boolean | $success | True if user was successfully stored in the database. |
string | $msg | Message. |
Try to pre-load a contact for this user. Apparently only possible if other plugin creates it Note: $user_id is cleaned above
|
protected |
|
protected |
|
protected |