\MemberProfilePage_Controller
Synopsis
class MemberProfilePage_Controller
extends Page_Controller
{
- // members
- private static array $allowed_actions = ;
- // methods
- public array index()
- protected array indexRegister()
- protected array indexProfile()
- public MemberProfileViewer show()
- public Form RegisterForm()
- public void register()
- public array afterregistration()
- public Form ProfileForm()
- public void save()
- public void add()
- public Form AddForm()
- public void doAdd()
- public void LoginLink()
- protected void getSettableGroupIdsFrom()
- public array confirm()
- protected Member|null addMember()
- protected FieldSet getProfileFields()
Hierarchy
Extends
- Page_Controller
Members
private
- $allowed_actions
Methods
protected
- addMember() — Attempts to save either a registration or add member form submission into a new member object, returning NULL on validation failure.
- getProfileFields()
- getSettableGroupIdsFrom() — Gets the list of groups that can be set after the submission of a particular form
- indexProfile() — Allows users to edit their profile if they are in at least one of the groups this page is restricted to, and editing isn't disabled.
- indexRegister() — Allow users to register if registration is enabled.
public
- AddForm()
- LoginLink()
- ProfileForm()
- RegisterForm()
- add() — Allows members with the appropriate permissions to add/regsiter other members.
- afterregistration() — Returns the after registration content to the user.
- confirm() — Allows the user to confirm their account by clicking on the validation link in the confirmation email.
- doAdd() — Saves an add member form submission into a new member object.
- index()
- register() — Handles validation and saving new Member objects, as well as sending out validation emails.
- save() — Updates an existing Member's profile.
- show()