User tests: Successful: Unsuccessful:
Pull Request for Issue # .
Added getField method to FieldsHelper.php to get a single field instead of every field of an item.
If you want to get a single field of an item, you have to foreach trough every field, until you found the correct field.
You can now just use this function.
Please select:
Documentation link for docs.joomla.org:
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed
| Status | New | ⇒ | Pending |
| Category | ⇒ | Administration com_fields |
| Labels |
Added:
PR-6.0-dev
|
||
| Labels |
Added:
Feature
|
||
This pull request has been automatically rebased to 6.1-dev.
| Title |
|
||||||
This pull request has been automatically rebased to 6.2-dev.
| Title |
|
||||||
| Labels |
Added:
Updates Requested
PR-6.2-dev
Removed: PR-6.0-dev |
||
| Category | Administration com_fields | ⇒ | Repository SQL Administration com_admin Postgresql com_banners com_categories com_config com_fields com_finder com_installer com_menus com_modules com_tags com_templates com_users Language & Strings |
This pull request has conflicts, please resolve those before we can evaluate the pull request.
| Status | Pending | ⇒ | Closed |
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2026-09-01 07:11:27 |
| Closed_By | ⇒ | Webman-WebDesign | |
| Labels |
Added:
Language Change
Conflicting Files
|
||
Is there a reason why you do not do a $this->getFields(...) and then return the field with Id if it exists?
That would save a lot of (duplicated) code in the new function?
so something like this: