SilverStripe\RealMe\Authenticator\MiniLoginForm
Synopsis
class MiniLoginForm
extends LoginForm
{
- // members
- private string $popupPosition = 'left';
- // Inherited members from LoginForm
- protected string $authenticator_class;
- // methods
- public void __construct()
- public void getRealMeMiniLoginLink()
- public void getMiniLoginFormPopupPosition()
- public void setMiniLoginFormPopupPosition()
- // Inherited methods from LoginForm
- public void __construct()
- public string getRealMeWidgetTheme()
- public void getServiceName1()
- public void getServiceName2()
- public void getServiceName3()
- public string|null RealMeLastError()
- public void HasRealMeLastError()
- public string getAuthenticatorName()
- protected FieldList getFormFields()
- protected FieldList getFormActions()
Hierarchy
Members
private
- $popupPosition — string
protected
- $authenticator_class — string
Methods
public
- __construct()
- getMiniLoginFormPopupPosition()
- getRealMeMiniLoginLink()
- setMiniLoginFormPopupPosition() — The mini login form can either have the popup appear below and to the left or right. When creating the form, call $form->setMiniLoginFormPopupPosition(), with the first arg being either 'left' or 'right'. This is actually the 'arrow' position, so it's the opposite of what you expect (in other words, if you set it to 'left', the box will extend out to the right under the mini login form.
Inherited from SilverStripe\RealMe\Authenticator\LoginForm
protected
- getFormActions() — Required FieldList creation for the login actions on this LoginForm
- getFormFields() — Required FieldList creation on a LoginForm
public
- HasRealMeLastError()
- RealMeLastError() — Returns the last error message that the RealMe service provided, if any
- getAuthenticatorName() — Return the title of the form for use in the frontend For tabs with multiple login methods, for example.
- getRealMeWidgetTheme() — Example function exposing a RealMe config option to the login form template
- getServiceName1()
- getServiceName2()
- getServiceName3()