SilverShop\Checkout\Component\Membership
Provides: - member identifier, and password fields.
- required membership fields
- validating data
Synopsis
class Membership
extends CheckoutComponent
{
- // members
- protected $confirmed;
- protected $passwordvalidator;
- protected array $dependson = ;
- // Inherited members from CheckoutComponent
- protected array $requiredfields;
- protected array $dependson;
- // methods
- public void __construct()
- public void getFormFields()
- public void getRequiredFields()
- public void getPasswordField()
- public void validateData()
- public void getData()
- public void setData()
- public void setConfirmed()
- // Inherited methods from CheckoutComponent
- public abstract FieldList getFormFields()
- public abstract boolean validateData()
- public abstract array getData()
- public abstract Order setData()
- public array getRequiredFields()
- public array dependsOn()
- public string name()
- public bool providesPaymentData()
Hierarchy
Members
protected
- $confirmed
- $dependson
- $dependson
- $passwordvalidator
- $requiredfields
Methods
public
- __construct()
- getData()
- getFormFields()
- getPasswordField()
- getRequiredFields()
- setConfirmed()
- setData()
- validateData()
Inherited from SilverShop\Checkout\Component\CheckoutComponent
public
- dependsOn()
- getData() — Get required data out of the model.
- getFormFields() — Get form fields for manipulating the current order, according to the responsibility of this component.
- getRequiredFields() — Get the data fields that are required for the component.
- name()
- providesPaymentData() — Whether or not this component provides the payment data that should be passed to the payment gateway
- setData() — Set the model data for this component.
- validateData() — Is this data valid for saving into an order?