[ Index ]

PHP Cross Reference of Joomla 2.5.4 DE

title

Body

[close]

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

(no description)

Copyright: Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 300 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

plgUserProfile:: (8 methods):
  __construct()
  onContentPrepareData()
  url()
  calendar()
  tos()
  onContentPrepareForm()
  onUserAfterSave()
  onUserAfterDelete()


Class: plgUserProfile  - X-Ref

An example custom profile plugin.

__construct(& $subject, $config)   X-Ref
Constructor

param: object  $subject The object to observe
param: array   $config  An array that holds the plugin configuration

onContentPrepareData($context, $data)   X-Ref

param: string    $context    The context for the data
param: int        $data        The user id
param: object
return: boolean

url($value)   X-Ref
No description

calendar($value)   X-Ref
No description

tos($value)   X-Ref
No description

onContentPrepareForm($form, $data)   X-Ref

param: JForm    $form    The form to be altered.
param: array    $data    The associated data for the form.
return: boolean

onUserAfterSave($data, $isNew, $result, $error)   X-Ref
No description

onUserAfterDelete($user, $success, $msg)   X-Ref
Remove all user profile information for the given user ID

Method is called after user data is deleted from the database

param: array        $user        Holds the user data
param: boolean        $success    True if user was succesfully stored in the database
param: string        $msg        Message



Generated: Tue Apr 3 11:40:28 2012 Cross-referenced by PHPXref 0.7.1