DataFormConfigurationContact
extends DataFormConfiguration
in package
Tags
Table of Contents
- FIELDS = 'fields'
- $_availableOptionsFields : array<string|int, mixed>
- $_captcha : bool
- $_checkDuplicateOnCreateAddress : bool
- $_contactType : bool
- $_createAddress : bool
- $_defaultRecipient : bool
- $_formName : string
- $_formType : string
- $_id : int
- $_inputs : array<string|int, mixed>
- $_language : string
- $_newsletterCheckbox : bool
- $_recipient : string
- $_requiredFields : array<string|int, mixed>
- $_showEstateContext : bool
- $_subject : string
- $_template : string
- addAvailableOptionsField() : mixed
- addInput() : mixed
- addRequiredField() : mixed
- getAvailableOptionsFields() : array<string|int, mixed>
- getCaptcha() : bool
- getCheckDuplicateOnCreateAddress() : bool
- getContactType() : string
- getCreateAddress() : bool
- getDefaultRecipient() : bool
- getFormName() : string
- getFormType() : string
- getId() : int
- getInputs() : array<string|int, mixed>
- getLanguage() : string
- getModule() : string
- getNewsletterCheckbox() : bool
- getRecipient() : string
- getRecipientByUserSelection() : string
- getRequiredFields() : array<string|int, mixed>
- getShowEstateContext() : bool
- getSubject() : string
- getTemplate() : string
- getViewType() : string
- setAvailableOptionsFields() : mixed
- setCaptcha() : mixed
- setCheckDuplicateOnCreateAddress() : mixed
- setContactTypeField() : mixed
- setCreateAddress() : mixed
- setDefaultFields() : mixed
- Override to set default fields for new, empty forms
- setDefaultRecipient() : mixed
- setFormName() : mixed
- setFormType() : mixed
- setId() : mixed
- setInputs() : mixed
- setLanguage() : mixed
- setNewsletterCheckbox() : mixed
- setRecipient() : mixed
- setRequiredFields() : mixed
- setShowEstateContext() : mixed
- setSubject() : mixed
- setTemplate() : mixed
Constants
FIELDS
public
mixed
FIELDS
= 'fields'
Properties
$_availableOptionsFields
private
array<string|int, mixed>
$_availableOptionsFields
= []
$_captcha
private
bool
$_captcha
= false
$_checkDuplicateOnCreateAddress
private
bool
$_checkDuplicateOnCreateAddress
= false
$_contactType
private
bool
$_contactType
= ''
$_createAddress
private
bool
$_createAddress
= true
$_defaultRecipient
private
bool
$_defaultRecipient
= false
$_formName
private
string
$_formName
= ''
$_formType
private
string
$_formType
= ''
$_id
private
int
$_id
= 0
The Form ID
$_inputs
private
array<string|int, mixed>
$_inputs
= []
$_language
private
string
$_language
= ''
$_newsletterCheckbox
private
bool
$_newsletterCheckbox
= false
$_recipient
private
string
$_recipient
= null
$_requiredFields
private
array<string|int, mixed>
$_requiredFields
= []
$_showEstateContext
private
bool
$_showEstateContext
= false
$_subject
private
string
$_subject
= null
$_template
private
string
$_template
= ''
Methods
addAvailableOptionsField()
public
addAvailableOptionsField(string $availableOptionsField) : mixed
Parameters
- $availableOptionsField : string
Return values
mixed —addInput()
public
addInput(string $input[, string $module = null ]) : mixed
Parameters
- $input : string
- $module : string = null
-
null if wp-only input
Return values
mixed —addRequiredField()
public
addRequiredField(string $requiredField) : mixed
Parameters
- $requiredField : string
Return values
mixed —getAvailableOptionsFields()
public
getAvailableOptionsFields() : array<string|int, mixed>
Return values
array<string|int, mixed> —getCaptcha()
public
getCaptcha() : bool
Return values
bool —getCheckDuplicateOnCreateAddress()
public
getCheckDuplicateOnCreateAddress() : bool
Return values
bool —getContactType()
public
getContactType() : string
Return values
string —getCreateAddress()
public
getCreateAddress() : bool
Return values
bool —getDefaultRecipient()
public
getDefaultRecipient() : bool
Return values
bool —getFormName()
public
getFormName() : string
Return values
string —getFormType()
public
getFormType() : string
Return values
string —getId()
public
getId() : int
Return values
int —getInputs()
public
getInputs() : array<string|int, mixed>
Return values
array<string|int, mixed> —getLanguage()
public
getLanguage() : string
Return values
string —getModule()
public
getModule() : string
Return values
string —getNewsletterCheckbox()
public
getNewsletterCheckbox() : bool
Return values
bool —getRecipient()
public
getRecipient() : string
Return values
string —getRecipientByUserSelection()
public
getRecipientByUserSelection() : string
Return values
string —getRequiredFields()
public
getRequiredFields() : array<string|int, mixed>
Return values
array<string|int, mixed> —getShowEstateContext()
public
getShowEstateContext() : bool
Return values
bool —getSubject()
public
getSubject() : string
Return values
string —getTemplate()
public
getTemplate() : string
Return values
string —getViewType()
public
getViewType() : string
Return values
string —setAvailableOptionsFields()
public
setAvailableOptionsFields(array<string|int, mixed> $availableOptionsFields) : mixed
Parameters
- $availableOptionsFields : array<string|int, mixed>
Return values
mixed —setCaptcha()
public
setCaptcha(bool $captcha) : mixed
Parameters
- $captcha : bool
Return values
mixed —setCheckDuplicateOnCreateAddress()
public
setCheckDuplicateOnCreateAddress(bool $checkDuplicateOnCreateAddress) : mixed
Parameters
- $checkDuplicateOnCreateAddress : bool
Return values
mixed —setContactTypeField()
public
setContactTypeField(string $contactTypeField) : mixed
Parameters
- $contactTypeField : string
Return values
mixed —setCreateAddress()
public
setCreateAddress(bool $createAddress) : mixed
Parameters
- $createAddress : bool
Return values
mixed —setDefaultFields()
Override to set default fields for new, empty forms
public
setDefaultFields() : mixed
Return values
mixed —setDefaultRecipient()
public
setDefaultRecipient(bool $defaultRecipient) : mixed
Parameters
- $defaultRecipient : bool
Return values
mixed —setFormName()
public
setFormName(string $formName) : mixed
Parameters
- $formName : string
Return values
mixed —setFormType()
public
setFormType(string $formType) : mixed
Parameters
- $formType : string
Return values
mixed —setId()
public
setId(int $id) : mixed
Parameters
- $id : int
Return values
mixed —setInputs()
public
setInputs(array<string|int, mixed> $inputs) : mixed
Parameters
- $inputs : array<string|int, mixed>
Return values
mixed —setLanguage()
public
setLanguage(string $language) : mixed
Parameters
- $language : string
Return values
mixed —setNewsletterCheckbox()
public
setNewsletterCheckbox(bool $newsletterCheckbox) : mixed
Parameters
- $newsletterCheckbox : bool
Return values
mixed —setRecipient()
public
setRecipient(string $recipient) : mixed
Parameters
- $recipient : string
Return values
mixed —setRequiredFields()
public
setRequiredFields(array<string|int, mixed> $requiredFields) : mixed
Parameters
- $requiredFields : array<string|int, mixed>
Return values
mixed —setShowEstateContext()
public
setShowEstateContext(bool $showEstateContext) : mixed
Parameters
- $showEstateContext : bool
Return values
mixed —setSubject()
public
setSubject(string $subject) : mixed
Parameters
- $subject : string
Return values
mixed —setTemplate()
public
setTemplate(string $template) : mixed
Parameters
- $template : string