Joomla Platform
13.1
Documentation des API du framework Joomla Platform
|
Fonctions membres publiques | |
__construct ($form=null) | |
__get ($name) | |
__set ($name, $value) | |
setForm (JForm $form) | |
setup (SimpleXMLElement $element, $value, $group=null) | |
setValue ($value) | |
getAttribute ($name, $default=null) | |
getControlGroup () |
Attributs publics | |
$repeat = false |
Fonctions membres protégées | |
getId ($fieldId, $fieldName) | |
getInput () | |
getTitle () | |
getLabel () | |
getName ($fieldName) | |
getFieldName ($fieldName) |
Attributs protégés | |
$description | |
$hint | |
$autocomplete = 'on' | |
$spellcheck = true | |
$autofocus = false | |
$element | |
$form | |
$formControl | |
$hidden = false | |
$translateLabel = true | |
$translateDescription = true | |
$translateHint = true | |
$id | |
$input | |
$label | |
$multiple = false | |
$pattern | |
$name | |
$fieldname | |
$group | |
$required = false | |
$disabled = false | |
$readonly = false | |
$type | |
$validate | |
$value | |
$default | |
$size | |
$class | |
$labelClass | |
$onchange | |
$onclick |
Attributs protégés statiques | |
static | $count = 0 |
static | $generated_fieldname = '__field' |
JFormField::__construct | ( | $form = null | ) |
Method to instantiate the form field object.
JForm | $form | The form to attach to the form field object. |
Définition à la ligne 314 du fichier field.php.
Références JStringNormalise\fromCamelCase(), et JString\ucfirst().
JFormField::__get | ( | $name | ) |
Method to get certain otherwise inaccessible properties from the form field object.
string | $name | The property name for which to the the value. |
Réimplémentée dans JFormFieldFileList, JFormFieldFolderList, JFormFieldMeter, JFormFieldColor, JFormFieldSQL, JFormFieldCalendar, JFormFieldPassword, JFormFieldText, JFormFieldNumber, JFormFieldRules, JFormFieldCheckboxes, JFormFieldTextarea, JFormFieldTimezone, JFormFieldCheckbox, JFormFieldFile, et JFormFieldPlugins.
Définition à la ligne 348 du fichier field.php.
JFormField::__set | ( | $name, | |
$value | |||
) |
Method to set certain otherwise inaccessible properties of the form field object.
string | $name | The property name for which to the the value. |
mixed | $value | The value of the property. |
Réimplémentée dans JFormFieldFileList, JFormFieldFolderList, JFormFieldMeter, JFormFieldColor, JFormFieldSQL, JFormFieldCalendar, JFormFieldPassword, JFormFieldText, JFormFieldNumber, JFormFieldRules, JFormFieldCheckboxes, JFormFieldTextarea, JFormFieldTimezone, JFormFieldCheckbox, JFormFieldFile, et JFormFieldPlugins.
Définition à la ligne 412 du fichier field.php.
Références JLog\add().
JFormField::getAttribute | ( | $name, | |
$default = null |
|||
) |
Method to get an attribute of the field
string | $name | Name of the attribute to get |
mixed | $default | Optional value to return if attribute not found |
JFormField::getControlGroup | ( | ) |
Method to get a control group with label and input.
|
protected |
Method to get the field name used.
string | $fieldName | The field element name. |
Définition à la ligne 806 du fichier field.php.
|
protected |
Method to get the id used for the field input tag.
string | $fieldId | The field element id. |
string | $fieldName | The field element name. |
Définition à la ligne 587 du fichier field.php.
|
abstractprotected |
Method to get the field input markup.
Réimplémentée dans JFormFieldText, JFormFieldMeter, JFormFieldColor, JFormFieldPassword, JFormFieldGroupedList, JFormFieldCalendar, JFormFieldRules, JFormFieldNumber, JFormFieldTextarea, JFormFieldCheckboxes, JFormFieldCheckbox, JFormFieldFile, JFormFieldNote, JFormFieldTel, JFormFieldAccessLevel, JFormFieldEMail, JFormFieldUrl, JFormFieldRange, JFormFieldCombo, JFormFieldComponentlayout, JFormFieldHidden, JFormFieldList, JFormFieldRadio, JFormFieldSpacer, JFormFieldUsergroup, JFormFieldModulelayout, et JFormFieldRepeatable.
|
protected |
Method to get the field label markup.
Réimplémentée dans JFormFieldSpacer, et JFormFieldNote.
Définition à la ligne 678 du fichier field.php.
Références JText\_().
|
protected |
Method to get the name used for the field input tag.
string | $fieldName | The field element name. |
Définition à la ligne 728 du fichier field.php.
|
protected |
Method to get the field title.
Réimplémentée dans JFormFieldSpacer.
Définition à la ligne 655 du fichier field.php.
Références JText\_().
JFormField::setForm | ( | JForm | $form | ) |
Method to attach a JForm object to the field.
Définition à la ligne 498 du fichier field.php.
Références JForm\getFormControl().
JFormField::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 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]". |
Réimplémentée dans JFormFieldFileList, JFormFieldFolderList, JFormFieldMeter, JFormFieldColor, JFormFieldSQL, JFormFieldText, JFormFieldPassword, JFormFieldCalendar, JFormFieldNumber, JFormFieldRules, JFormFieldCheckboxes, JFormFieldTextarea, JFormFieldTimezone, JFormFieldCheckbox, JFormFieldFile, et JFormFieldPlugins.
Définition à la ligne 519 du fichier field.php.
JFormField::setValue | ( | $value | ) |
|
staticprotected |
|
protected |
Réimplémentée dans JFormFieldTel, JFormFieldAccessLevel, JFormFieldDatabaseConnection, JFormFieldEMail, JFormFieldUrl, JFormFieldCacheHandler, JFormFieldCheckbox, JFormFieldFileList, JFormFieldLanguage, JFormFieldMeter, JFormFieldRange, JFormFieldCalendar, JFormFieldCheckboxes, JFormFieldCombo, JFormFieldFolderList, JFormFieldInteger, JFormFieldPassword, JFormFieldSessionHandler, JFormFieldText, JFormFieldCategory, JFormFieldComponentlayout, JFormFieldColor, JFormFieldFile, JFormFieldHidden, JFormFieldImageList, JFormFieldNote, JFormFieldNumber, JFormFieldPlugins, JFormFieldPredefinedList, JFormFieldRadio, JFormFieldRules, JFormFieldSQL, JFormFieldTextarea, JFormFieldTimezone, JFormFieldUsergroup, JFormFieldModulelayout, JFormFieldGroupedList, JFormFieldList, JFormFieldRepeatable, et JFormFieldSpacer.