Forms
extends Element
in package
Uses
ElementTrait
This is the 'Forms' class, a DTO class for the theme configuration data.
The items stored in this class will remain immutable (only get methods are available).
This class extends SDK\Core\Dtos\Element, see this class.
Tags
Table of Contents
COMMENTS | = 'comments' | |
---|---|---|
CONTACT | = 'contact' | |
ELEMENTS | = 'elements' | |
PRODUCT_CONTACT | = 'productContact' | |
SET_USER | = 'setUser' | |
getComments() | This method returns the comments form configurations. | : FormComments|null |
getContact() | This method returns the contact form configurations. | : FormContact|null |
getElements() | This method returns the form elements configuration. | : FormElements|null |
getProductContact() | This method returns the product contact form configurations. | : FormProductContact|null |
getSetUser() | This method returns the setUser form configurations. | : FormSetUser|null |
Constants
COMMENTS
public
mixed
COMMENTS
= 'comments'
CONTACT
public
mixed
CONTACT
= 'contact'
ELEMENTS
public
mixed
ELEMENTS
= 'elements'
PRODUCT_CONTACT
public
mixed
PRODUCT_CONTACT
= 'productContact'
SET_USER
public
mixed
SET_USER
= 'setUser'
Methods
getComments()
This method returns the comments form configurations.
public
getComments() : FormComments|null
Return values
FormComments|null —getContact()
This method returns the contact form configurations.
public
getContact() : FormContact|null
Return values
FormContact|null —getElements()
This method returns the form elements configuration.
public
getElements() : FormElements|null
Return values
FormElements|null —getProductContact()
This method returns the product contact form configurations.
public
getProductContact() : FormProductContact|null
Return values
FormProductContact|null —getSetUser()
This method returns the setUser form configurations.
public
getSetUser() : FormSetUser|null