Webylon 3.2 API Docs
  • Package
  • Class
  • Tree
  • Deprecated
  • Download
Version: current
  • 3.2
  • 3.1

Packages

  • 1c
    • exchange
      • catalog
  • auth
  • Booking
  • building
    • company
  • cart
    • shipping
    • steppedcheckout
  • Catalog
    • monument
  • cms
    • assets
    • batchaction
    • batchactions
    • bulkloading
    • comments
    • content
    • core
    • export
    • newsletter
    • publishers
    • reports
    • security
    • tasks
  • Dashboard
  • DataObjectManager
  • event
  • faq
  • forms
    • actions
    • core
    • fields-basic
    • fields-dataless
    • fields-datetime
    • fields-files
    • fields-formatted
    • fields-formattedinput
    • fields-relational
    • fields-structural
    • transformations
    • validators
  • googlesitemaps
  • guestbook
  • installer
  • newsletter
  • None
  • photo
    • gallery
  • PHP
  • polls
  • recaptcha
  • sapphire
    • api
    • bulkloading
    • control
    • core
    • cron
    • dev
    • email
    • fields-formattedinput
    • filesystem
    • formatters
    • forms
    • i18n
    • integration
    • misc
    • model
    • parsers
    • search
    • security
    • tasks
    • testing
    • tools
    • validation
    • view
    • widgets
  • seo
    • open
      • graph
  • sfDateTimePlugin
  • spamprotection
  • stealth
    • captha
  • subsites
  • userform
    • pagetypes
  • userforms
  • webylon
  • widgets

Classes

  • Authenticator
  • BasicAuth
  • ChangePasswordForm
  • Group
  • GroupCsvBulkLoader
  • LoginAttempt
  • LoginForm
  • Member
  • Member_ChangePasswordEmail
  • Member_ForgotPasswordEmail
  • Member_GroupSet
  • Member_ProfileForm
  • Member_SignupEmail
  • Member_Validator
  • MemberAuthenticator
  • MemberCsvBulkLoader
  • MemberLoginForm
  • MemberPassword
  • NZGovtPasswordValidator
  • PasswordEncryptor
  • PasswordEncryptor_LegacyPHPHash
  • PasswordEncryptor_MySQLOldPassword
  • PasswordEncryptor_MySQLPassword
  • PasswordEncryptor_None
  • PasswordEncryptor_PHPHash
  • PasswordValidator
  • Permission
  • Permission_Group
  • PermissionCheckboxSetField
  • PermissionCheckboxSetField_Readonly
  • PermissionRole
  • PermissionRoleCode
  • Security

Interfaces

  • PermissionProvider

Exceptions

  • PasswordEncryptor_NotFoundException

Class MemberLoginForm

Log-in form for the "member" authentication method

Object
Extended by ViewableData implements IteratorAggregate
Extended by RequestHandler
Extended by Form
Extended by LoginForm
Extended by MemberLoginForm
Package: sapphire\security
Located at sapphire/security/MemberLoginForm.php

Methods summary

public
# __construct( Controller $controller, string $name, FieldSet|FormField $fields = null, FieldSet|FormAction $actions = null, boolean $checkCurrentUser = true )

Constructor

Constructor

Parameters

$controller
Controller $controller The parent controller, necessary to create the appropriate form action tag.
$name
string $name The method on the controller that will return this form object.
$fields
FieldSet|FormField $fields All of the fields in the form - a FieldSet of FormField objects.
$actions
FieldSet|FormAction $actions All of the action buttons in the form - a FieldSet of FormAction objects
$checkCurrentUser
bool $checkCurrentUser 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

Overrides

LoginForm::__construct
protected
# getMessageFromSession( )

Get message from session

Get message from session

Overrides

Form::getMessageFromSession
public
# dologin( array $data )

Login form handler method

Login form handler method

This method is called when the user clicks on "Log in"

Parameters

$data
array $data Submitted data
public
# logout( )

Log out form handler method

Log out form handler method

This method is called when the user clicks on "logout" on the form created when the parameter $checkCurrentUser of the __construct constructor was set to TRUE and the user was currently logged in.

public Member
# performLogin( array $data )

Try to authenticate the user

Try to authenticate the user

Parameters

$data
array Submitted data

Returns

Member
Returns the member object on successful authentication or NULL on failure.
public
# forgotPassword( array $data )

Forgot password form handler method

Forgot password form handler method

This method is called when the user clicks on "I've lost my password"

Parameters

$data
array $data Submitted data

Methods inherited from LoginForm

getAuthenticator()

Methods inherited from Form

Actions(), Controller(), FieldMap(), Fields(), FormAction(), FormAttributes(), FormEncType(), FormHttpMethod(), FormMethod(), FormName(), HiddenFields(), Message(), MessageType(), Name(), addErrorMessage(), addExtraClass(), buttonClicked(), callfieldmethod(), clearMessage(), current_action(), dataFieldByName(), debug(), defaultAction(), disableDefaultAction(), disableSecurityToken(), disable_all_security_tokens(), extraClass(), forAjaxTemplate(), forTemplate(), formHtmlContent(), getData(), getExtraClasses(), getExtraFields(), getLegend(), getRecord(), getRedirectToFormOnValidationError(), getTemplate(), getValidator(), handleField(), httpSubmission(), loadDataFrom(), makeReadonly(), messageForForm(), removeExtraClass(), renderWithoutActionButton(), resetField(), resetValidation(), saveInto(), securityTokenEnabled(), sessionMessage(), setActions(), setButtonClicked(), setFields(), setFormAction(), setFormMethod(), setHTMLID(), setLegend(), setMessage(), setRedirectToFormOnValidationError(), setTarget(), setTemplate(), setValidator(), set_current_action(), setupFormErrors(), single_field_required(), testAjaxSubmission(), testSubmission(), transform(), transformTo(), unsetActionByName(), unsetAllActions(), unsetDataFieldByName(), unsetFieldFromTab(), unsetValidator(), validate()

Methods inherited from RequestHandler

allowedActions(), checkAccessAction(), getRequest(), handleRequest(), hasAction(), httpError()

Methods inherited from ViewableData

ATT_val(), BaseHref(), CSSClasses(), ColumnBreak(), ColumnCalc(), ColumnNumber(), ColumnPad(), ColumnPos(), CurrentMember(), CurrentPage(), Debug(), Even(), EvenOdd(), First(), FirstLast(), HasPerm(), IsAjax(), JS_val(), Last(), Me(), Middle(), MiddleString(), Modulus(), MultipleOf(), Odd(), Pos(), RAW_val(), SQL_val(), ThemeDir(), ThemeName(), Top(), TotalItems(), XML_val(), __get(), __isset(), __set(), buildCastingCache(), cachedCall(), castingClass(), castingHelper(), castingHelperPair(), castingObjectCreator(), castingObjectCreatorPair(), customise(), defineMethods(), escapeTypeForField(), getField(), getIterator(), getSecurityID(), getXMLValues(), hasField(), hasValue(), i18nLocale(), iteratorProperties(), obj(), renderWith(), setCustomisedObj(), setField()

Methods inherited from Object

__call(), __toString(), __wakeup(), addMethodsFrom(), addStaticVars(), addWrapperMethod(), add_extension(), add_static_var(), allMethodNames(), cacheToFile(), cacheToFileWithArgs(), clearCache(), combined_static(), create(), createMethod(), create_from_string(), exists(), extInstance(), extend(), getCustomClass(), getExtensionInstance(), getExtensionInstances(), get_extensions(), get_static(), hasExtension(), hasMethod(), has_extension(), invokeWithExtensions(), is_a(), loadCache(), parentClass(), parse_class_spec(), remove_extension(), sanitiseCachename(), saveCache(), set_stat(), set_static(), set_uninherited(), stat(), strong_create(), uninherited(), uninherited_static(), useCustomClass()

Magic methods summary

Properties summary

protected string $authenticator_class
#

Authenticator class to use with this login form

Authenticator class to use with this login form

Set this variable to the authenticator class to use with this login form.

Properties inherited from Form

$IncludeFormTag, $actions, $buttonClickedFunc, $controller, $current_action, $extraClasses, $fields, $formMethod, $hasDefaultAction, $jsValidationIncluded, $legend, $message, $messageType, $name, $record, $redirectToFormOnValidationError, $security, $target, $template, $url_handlers, $validator

Properties inherited from RequestHandler

$allowed_actions, $brokenOnConstruct, $request

Properties inherited from ViewableData

$casting, $customisedObject, $default_cast, $failover, $iteratorPos, $iteratorTotalItems

Properties inherited from Object

$class, $extension_instances, $extensions

[Raise a SilverStripe Framework issue/bug](https://github.com/silverstripe/silverstripe-framework/issues/new)
- [Raise a SilverStripe CMS issue/bug](https://github.com/silverstripe/silverstripe-cms/issues/new)
- Please use the Silverstripe Forums to ask development related questions. -
Webylon 3.2 API Docs API documentation generated by ApiGen 2.8.0