Registration\Security\MemberAuthenticator\MemberRegistrationForm::__construct
Constructor
Signature
Parameters
$controller
—
object
- The parent controller, necessary to
create the appropriate form action tag.
$authenticatorClass
—
string
- Authenticator for this LoginForm
$name
—
string
- The method on the controller that will return this
form object.
$fields
—
object
- All of the fields in the form - a
of objects.
$actions
—
object
- All of the action buttons in the
form - a of
objects
$checkCurrentUser
—
boolean
- If set to TRUE, it will be checked if a
the user is currently logged in, and if
so, only a logout button will be rendered