SilverCommerce\Checkout\AgreeToTerms\AgreeToTermsField
Special type of Checkbox that loads provided terms and conditions into a modal
Synopsis
class AgreeToTermsField
extends CheckboxField
{
- // members
- protected $popup_content = NULL;
- // methods
- public string getPopupContent()
- public AgreeToTermsField setPopupContent()
Hierarchy
Extends
- SilverStripe\Forms\CheckboxField
Members
protected
- $popup_content
—
string
Content to be loaded into the terms modal
Methods
public
- getPopupContent() — Get content to be loaded into the terms modal
- setPopupContent() — Set content to be loaded into the terms modal