Class File
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\File
Direct known subclasses
Icybee\Modules\Files\FileUpload
,
Icybee\Modules\Images\UploadImage
Indirect known subclasses
See: http://dev.w3.org/html5/spec/Overview.html#embedding-custom-non-visible-data-with-the-data-attributes
Located at vendor/brickrouge/brickrouge/lib/file.php
Methods summary
protected static
|
|
public
|
|
protected
|
|
protected
|
|
protected
|
|
protected
string|null
|
|
protected
array
|
|
protected
string
|
Methods inherited from Brickrouge\Element
__toString()
,
add_class()
,
adopt()
,
alter_attributes()
,
alter_class_names()
,
auto_element_id()
,
decorate()
,
decorate_with_description()
,
decorate_with_inline_help()
,
decorate_with_label()
,
decorate_with_legend()
,
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()
,
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 |
FILE_WITH_LIMIT
|
'#file-with-limit' |
|
string |
T_UPLOAD_URL
|
'#file-upload-url' |
|
string |
BUTTON_LABEL
|
'#file-button-label' |
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