Joomla CMS
3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
|
Fonctions membres publiques | |
__get ($name) | |
__set ($name, $value) | |
setup (SimpleXMLElement $element, $value, $group=null) | |
Fonctions membres protégées | |
getInput () | |
getLayoutData () | |
getSimpleModeLayoutData () | |
getAdvancedModeLayoutData ($lang) | |
Attributs protégés | |
$type = 'Color' | |
$control = 'hue' | |
$format = 'hex' | |
$keywords = '' | |
$position = 'default' | |
$colors | |
$split = 3 | |
$layout = 'joomla.form.field.color' | |
Color Form Field class for the Joomla Platform. This implementation is designed to be compatible with HTML5's <input type="color">
__get | ( | $name | ) |
Method to get certain otherwise inaccessible properties from the form field object.
string | $name | The property name for which to get the value. |
Références $name.
__set | ( | $name, | |
$value | |||
) |
|
protected |
Method to get the data for the advanced mode to be passed to the layout for rendering.
object | $lang | The language object |
Références $lang.
|
protected |
Method to get the field input markup.
|
protected |
|
protected |
Method to get the data for the simple mode to be passed to the layout for rendering.
Références $count.
setup | ( | SimpleXMLElement | $element, |
$value, | |||
$group = null |
|||
) |
Method to attach a JForm object to the field.
SimpleXMLElement | $element | The SimpleXMLElement object representing the <field> tag for the form field object. |
mixed | $value | The form field value to validate. |
string | $group | The field name group control value. This acts as an array container for the field. For example if the field has name="foo" and the group value is set to "bar" then the full field name would end up being "bar[foo]". |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |