\DomainSpecificMemberProfilePageExtension
Extension to {@link MemberProfilePage} that adds extra validation on the domain of the email the user registers with.
- Author: Maxime Rainville <max@firebrand.nz>
- Copyright: Firebrand Holdings Limited 2016
- License: https://raw.githubusercontent.com/firebrandhq/domain-specific-memberprofiles/master/LICENSE MIT License
Synopsis
class DomainSpecificMemberProfilePageExtension
extends Extension
{
- // methods
- public void updateProfileFields()
- protected DomainSpecificEmailField initNewField()
Hierarchy
Extends
- Extension
Methods
protected
- initNewField() — Received a TextField and return a matching DomainSpecificEmailField with domains restrictions.
public
- updateProfileFields() — Hook into the updateProfileFields function to swap out the email field with our own custom Field.