Feature PR-6.1-dev Pending

User tests: Successful: Unsuccessful:

avatar joomdonation
joomdonation
4 Dec 2025

Pull Request for Issue # .

Summary of Changes

This pull request introduces a new utility method to the Joomla\CMS\Table\Table class:

  • getData() – returns the data of the current table record as an associative array. It is needed because developers currently lack a simple and consistent way to retrieve all field values from a Table object. They have to use workarounds such as ArrayHelper::fromObject, get_object_vars or CMSHelper getRowData, CMSHelper getDataObject. Having this method will make make it easier to receive the data from Table object.

Testing Instructions

As this is a new method, I do not really know how to give testing instructions. Maybe it would require maintainer code review?

Actual result BEFORE applying this Pull Request

Expected result AFTER applying this Pull Request

Link to documentations

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

avatar joomdonation joomdonation - open - 4 Dec 2025
avatar joomdonation joomdonation - change - 4 Dec 2025
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 4 Dec 2025
Category Libraries
avatar joomdonation joomdonation - change - 5 Dec 2025
Labels Added: Feature PR-6.1-dev
avatar joomdonation joomdonation - change - 5 Dec 2025
The description was changed
avatar joomdonation joomdonation - edited - 5 Dec 2025

Add a Comment

Login with GitHub to post a comment