Class Quform_Element_Email
-
Quform_Element
-
Quform_Element_Field
-
Quform_Element_Email
implements
Quform_Element_Editable
Methods summary
public
|
#
setDefaultValue( string $value, boolean $replacePlaceholders = true )
Set the default value
Parameters
- $value
- $replacePlaceholders
- Whether or not to replace variables
Overrides
|
public
string
|
#
getValueHtml( )
Get the value formatted in HTML
Get the value formatted in HTML
Returns
string
Overrides
|
protected
array
|
#
getFieldAttributes( array $context = array() )
Get the HTML attributes for the field
Get the HTML attributes for the field
Parameters
Returns
array
|
protected
array
|
#
getFieldClasses( array $context = array() )
Get the classes for the field
Get the classes for the field
Parameters
Returns
array
|
protected
string
|
#
getFieldHtml( array $context = array() )
Get the HTML for the field
Get the HTML for the field
Parameters
Returns
string
|
public
string
|
#
getEditFieldHtml( )
Get the field HTML when editing
Get the field HTML when editing
Returns
string
Implementation of
|
protected
string
|
#
renderCss( array $context = array() )
Render the CSS for this element
Render the CSS for this element
Parameters
Returns
string
Overrides
|
public static
array
|
#
getDefaultConfig( string|null $key = null )
Get the default element configuration
Get the default element configuration
Parameters
- $key
- Get the config by key, if omitted the full config is returned
Returns
array
|
Methods inherited from Quform_Element_Field
addError(),
addFilter(),
addValidator(),
clearError(),
clearErrors(),
clearFilters(),
clearValidators(),
convertValueFromStorage(),
filterValue(),
filterValueRecursive(),
getAdminLabel(),
getBelongsTo(),
getConvertedValueForStorage(),
getCssSelectors(),
getDefaultValue(),
getDescriptionHtml(),
getEditLabelHtml(),
getElementClasses(),
getEmptyValue(),
getError(),
getErrorArray(),
getErrorHtml(),
getErrors(),
getFieldIconsHtml(),
getFilter(),
getFilters(),
getFullyQualifiedName(),
getIdentifier(),
getInnerClasses(),
getInputClasses(),
getInputHtml(),
getLabel(),
getLabelHtml(),
getName(),
getSubLabelHtml(),
getTooltip(),
getUniqueId(),
getValidator(),
getValidators(),
getValue(),
getValueForStorage(),
getValueRaw(),
getValueText(),
hasDefaultValue(),
hasError(),
hasFilter(),
hasFilters(),
hasValidator(),
hasValidators(),
hasValue(),
isEmpty(),
isLogicRuleMatch(),
isLogicValueMatch(),
isMultiple(),
isRequired(),
isValid(),
isValidValue(),
prepareDynamicValue(),
removeFilter(),
removeValidator(),
render(),
reset(),
setBelongsTo(),
setDynamicDefaultValue(),
setError(),
setIsMultiple(),
setValue(),
setValueFromStorage(),
shouldConvertToHidden()
|
Methods inherited from Quform_Element
__construct(),
config(),
getCss(),
getCssSelector(),
getForm(),
getId(),
getTranslation(),
hasNonVisibleAncestor(),
isConditionallyHidden(),
isHidden(),
isVisible(),
prepareContext(),
setConditionallyHidden(),
setConfig(),
setForm(),
setHasNonVisibleAncestor(),
setId(),
setUniqueId()
|