[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/plugins/user/contactcreator/ -> contactcreator.php (summary)

(no description)

Copyright: (C) 2010 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 180 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

PlgUserContactCreator:: (3 methods):
  onUserAfterSave()
  generateAliasAndName()
  getContactTable()


Class: PlgUserContactCreator  - X-Ref

Class for Contact Creator

A tool to automatically create and synchronise contacts with a user

onUserAfterSave($user, $isnew, $success, $msg)   X-Ref
Utility method to act on a user after it has been saved.

This method creates a contact for the saved user

param: array    $user     Holds the new user data.
param: boolean  $isnew    True if a new user is stored.
param: boolean  $success  True if user was successfully stored in the database.
param: string   $msg      Message.
return: void

generateAliasAndName($alias, $name, $categoryId)   X-Ref
Method to change the name & alias if alias is already in use

param: string   $alias       The alias.
param: string   $name        The name.
param: integer  $categoryId  Category identifier
return: array  Contains the modified title and alias.

getContactTable()   X-Ref
Get an instance of the contact table

return: ContactTable|null



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer