PHP Class MembershipCheckoutComponent, silvershop-core

- required membership fields - validating data
Inheritance: extends CheckoutComponent
Exibir arquivo Open project: burnbright/silverstripe-shop Class Usage Examples

Protected Properties

Property Type Description
$confirmed
$dependson
$passwordvalidator

Public Methods

Method Description
__construct ( $confirmed = true, $validator = null )
getData ( Order $order )
getFormFields ( Order $order, Form $form = null )
getPasswordField ( )
getRequiredFields ( Order $order )
setConfirmed ( $confirmed )
setData ( Order $order, array $data )
validateData ( Order $order, array $data )

Method Details

__construct() public method

public __construct ( $confirmed = true, $validator = null )

getData() public method

public getData ( Order $order )
$order Order

getFormFields() public method

public getFormFields ( Order $order, Form $form = null )
$order Order
$form Form

getPasswordField() public method

public getPasswordField ( )

getRequiredFields() public method

public getRequiredFields ( Order $order )
$order Order

setConfirmed() public method

public setConfirmed ( $confirmed )

setData() public method

public setData ( Order $order, array $data )
$order Order
$data array

validateData() public method

public validateData ( Order $order, array $data )
$order Order
$data array

Property Details

$confirmed protected_oe property

protected $confirmed

$dependson protected_oe property

protected $dependson

$passwordvalidator protected_oe property

protected $passwordvalidator