Class Modal
An HTML element.
The Element
class can create any kind of HTML element. It
supports class names, dataset, children. It handles values and default values.
It can decorate the HTML element with a label, a legend and a description.
This is the base class to all element types.
- ICanBoogie\Object implements ICanBoogie\ToArrayRecursive uses ICanBoogie\ToArrayRecursiveTrait, ICanBoogie\PrototypeTrait
-
Brickrouge\Element implements ArrayAccess, IteratorAggregate, Brickrouge\HTMLStringInterface
-
Brickrouge\Modal
See: http://dev.w3.org/html5/spec/Overview.html#embedding-custom-non-visible-data-with-the-data-attributes
Located at vendor/brickrouge/brickrouge/lib/modal.php
Methods summary
protected static
|
|
public
|
|
protected
array
|
|
protected
string|null
|
|
protected
string
|
#
decorate_with_legend( string $html, string $legend )
Decorates the specified HTML with a fieldset and the specified legend. |
protected
|
|
protected
|
|
protected
|
Methods inherited from Brickrouge\Element
__toString()
,
add_class()
,
adopt()
,
alter_attributes()
,
alter_dataset()
,
auto_element_id()
,
decorate()
,
decorate_with_description()
,
decorate_with_inline_help()
,
decorate_with_label()
,
getIterator()
,
get_attributes()
,
get_class()
,
get_dataset()
,
get_ordered_children()
,
handle_assets()
,
has_class()
,
lazy_get_id()
,
offsetExists()
,
offsetGet()
,
offsetSet()
,
offsetUnset()
,
remove_class()
,
render()
,
render_attributes()
,
render_child()
,
render_children()
,
render_class()
,
render_dataset()
,
render_inner_html_for_checkbox_group()
,
render_inner_html_for_radio_group()
,
render_inner_html_for_select()
,
render_inner_html_for_textarea()
,
render_outer_html()
,
set_class()
,
set_dataset()
,
validate()
Methods inherited from ICanBoogie\Object
from()
,
resolve_facade_properties()
,
resolve_private_properties()
,
to_array()
,
to_json()
Methods inherited from ICanBoogie\ToArrayRecursive
Methods used from ICanBoogie\ToArrayRecursiveTrait
Methods used from ICanBoogie\PrototypeTrait
__call()
,
__get()
,
__set()
,
__sleep()
,
__wakeup()
,
get_prototype()
,
has_method()
,
has_property()
,
last_chance_get()
,
last_chance_set()
Magic methods summary
Constants summary
string |
ACTIONS
|
'#modal-actions' |
Constants inherited from Brickrouge\Element
CHILDREN
,
DEFAULT_VALUE
,
DESCRIPTION
,
GROUP
,
GROUPS
,
INLINE_HELP
,
INNER_HTML
,
LABEL
,
LABEL_MISSING
,
LABEL_POSITION
,
LEGEND
,
OPTIONS
,
OPTIONS_DISABLED
,
REQUIRED
,
STATE
,
TYPE_CHECKBOX
,
TYPE_CHECKBOX_GROUP
,
TYPE_RADIO
,
TYPE_RADIO_GROUP
,
VALIDATOR
,
VALIDATOR_OPTIONS
,
WEIGHT
,
WIDGET_CONSTRUCTOR
Properties summary
Properties inherited from Brickrouge\Element
$auto_element_id
,
$children
,
$class_names
,
$inner_html
,
$tag_name
,
$tags
,
$type