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é
|
Fonctions membres publiques | |
onUserAfterSave ($user, $isnew, $success, $msg) | |
Fonctions membres protégées | |
generateAliasAndName ($alias, $name, $categoryId) | |
getContactTable () | |
Attributs protégés | |
$autoloadLanguage = true | |
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
Références JPATH_ADMINISTRATOR.
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
Références $name, $user, et JError\raiseWarning().
|
protected |