MediaField
class MediaField extends FormField
Provides a modal media selector including upload mechanism
Properties
mixed | $repeat | Allows extensions to create repeat elements | from FormField |
Methods
mixed
__get(
string $name)
Method to get certain otherwise inaccessible properties from the form field object.
void
__set(
string $name,
mixed $value)
Method to set certain otherwise inaccessible properties of the form field object.
boolean
setup(
SimpleXMLElement $element,
mixed $value,
string $group = null)
Method to attach a JForm object to the field.
mixed
getAttribute(
string $name,
mixed $default = null)
Method to get an attribute of the field
from FormField
string
render(
string $layoutId,
array $data = array())
Render a layout of this field
from FormField
string
renderField(
array $options = array())
Method to get a control group with label and input.
from FormField
array
getLayoutData()
Get the data that is going to be passed to the layout
Details
mixed
__get(
string $name)
Method to get certain otherwise inaccessible properties from the form field object.
void
__set(
string $name,
mixed $value)
Method to set certain otherwise inaccessible properties of the form field object.
boolean
setup(
SimpleXMLElement $element,
mixed $value,
string $group = null)
Method to attach a JForm object to the field.