ContactForm
extends AbstractBlock
in package
Table of Contents
- $blockName : mixed
- __construct() : mixed
- block_frontend_assets() : mixed
- getBlockName() : mixed
- getDisabledOptionKey() : mixed
- getLabel() : mixed
- hasBlock() : mixed
- Assets optimization. Currently in Beta.
- isDisabled() : mixed
- isEnabled() : mixed
- pre_render_block() : mixed
- recaptcha_api_key_manage() : mixed
- render_callback() : mixed
- render_captcha_block() : mixed
- render_field_email_block() : mixed
- render_field_name_block() : mixed
- render_field_textarea_block() : mixed
- send() : mixed
- get_error() : mixed
- register_contact_form_blocks() : mixed
- send_mail() : mixed
Properties
$blockName
protected
static mixed
$blockName
= 'getwid/contact-form'
Methods
__construct()
public
__construct() : mixed
Return values
mixed —block_frontend_assets()
public
block_frontend_assets() : mixed
Return values
mixed —getBlockName()
public
static getBlockName() : mixed
Return values
mixed —getDisabledOptionKey()
public
getDisabledOptionKey() : mixed
Return values
mixed —getLabel()
public
getLabel() : mixed
Return values
mixed —hasBlock()
Assets optimization. Currently in Beta.
public
hasBlock() : mixed
Tags
Return values
mixed —isDisabled()
public
isDisabled() : mixed
Return values
mixed —isEnabled()
public
isEnabled() : mixed
Return values
mixed —pre_render_block()
public
pre_render_block(mixed $block_content, mixed $block) : mixed
Parameters
- $block_content : mixed
- $block : mixed
Return values
mixed —recaptcha_api_key_manage()
public
recaptcha_api_key_manage() : mixed
Return values
mixed —render_callback()
public
render_callback(mixed $attributes, mixed $content) : mixed
Parameters
- $attributes : mixed
- $content : mixed
Return values
mixed —render_captcha_block()
public
render_captcha_block(mixed $attributes) : mixed
Parameters
- $attributes : mixed
Return values
mixed —render_field_email_block()
public
render_field_email_block(mixed $attributes) : mixed
Parameters
- $attributes : mixed
Return values
mixed —render_field_name_block()
public
render_field_name_block(mixed $attributes) : mixed
Parameters
- $attributes : mixed
Return values
mixed —render_field_textarea_block()
public
render_field_textarea_block(mixed $attributes) : mixed
Parameters
- $attributes : mixed
Return values
mixed —send()
public
send() : mixed
Return values
mixed —get_error()
private
get_error(mixed $error_code) : mixed
Parameters
- $error_code : mixed
Return values
mixed —register_contact_form_blocks()
private
register_contact_form_blocks() : mixed
Return values
mixed —send_mail()
private
send_mail(mixed $data) : mixed
Parameters
- $data : mixed