FieldsFormServiceInterface
Extends FieldsServiceInterfaceThe fields service.
deprecated
| since |
5.1.0 |
|---|---|
| deprecated |
5.1.0 will be removed in 7.0 |
| package |
Joomla CMS |
Methods
getContexts
Returns valid contexts.
getContexts() : mixed||string|int
inherited
| since |
4.0.0 |
|---|
Response
array<string|int, mixed>
prepareForm
Prepares the field form
prepareForm(\Joomla\CMS\Form\Form form, array|object data) :
deprecated
| since |
5.1.0 |
|---|---|
| todo |
7.0 Move to FieldsServiceInterface |
| deprecated |
5.1.0 will be removed in 7.0 Use the FieldServiceInterface instead |
Arguments
- form
FormThe form to change- data
array<string|int, mixed>|objectThe form data
Response
void
validateSection
Returns a valid section for the given section. If it is not valid then null is returned.
validateSection( section, item = null) : string|null
inherited
| since |
4.0.0 |
|---|
Arguments
- section
stringThe section to get the mapping for- item
objectThe item
Response
string|nullThe new section