Property | Type | Description | |
---|---|---|---|
$self | The current class name | ||
$shortcode | The current shortcode | ||
$shortcode_tag | The current shortcode tag |
Property | Type | Description | |
---|---|---|---|
$errors | Shortcode field errors | ||
$required | Required shortcode fields |
Method | Description | |
---|---|---|
__construct ( string $shortcode ) | Class constructor | |
define_fields ( ) : false | array | Define the shortcode attribute fields | |
init ( ) | Kick things off for the shortcode generator | |
return_textbox_value ( $value ) : boolean | Validate Textbox Value |
Method | Description | |
---|---|---|
generate_container ( array $field ) : array | false | Generate a TinyMCE container field | |
generate_fields ( array $defined_fields ) : array | Generate the shortcode dialog fields | |
generate_listbox ( array $field ) : array | false | Generate a TinyMCE listbox field | |
generate_post ( array $field ) : array | false | Generate a TinyMCE listbox field for a post_type | |
generate_textbox ( array $field ) : array | false | Generate a TinyMCE textbox field | |
get_fields ( ) : array | Get the generated shortcode dialog fields | |
validate ( array $field ) : boolean | Perform validation for a single field |
public __construct ( string $shortcode ) | ||
$shortcode | string | The shortcode tag |
public define_fields ( ) : false | array | ||
return | false | array |
protected generate_container ( array $field ) : array | false | ||
$field | array | |
return | array | false |
protected generate_fields ( array $defined_fields ) : array | ||
$defined_fields | array | |
return | array |
protected generate_listbox ( array $field ) : array | false | ||
$field | array | |
return | array | false |
protected generate_post ( array $field ) : array | false | ||
$field | array | |
return | array | false |
protected generate_textbox ( array $field ) : array | false | ||
$field | array | |
return | array | false |
protected get_fields ( ) : array | ||
return | array |
public return_textbox_value ( $value ) : boolean | ||
$value | ||
return | boolean |