Feature #20767
closedwrong getData behaviour with field parameter
100%
Description
Why we return only $this->data[$field] while GPVar and TSFE can have nested arrays and objects? I propose to correct that without any bad results.
(issue imported from #M11554)
Files
Updated by Oliver Hader over 15 years ago
Can you please give an example how you use it?
How do you get nested database fields?
Updated by Myroslav Holyak over 15 years ago
I said nothing about only database fields. I can create my local cObject, ->start it with custom data array (e.g. with subarrays in fields) and make ->cObjGetSingle. So I can access to nested subarrays with ->getGlobal.
Updated by Alexander Opitz over 11 years ago
- Status changed from New to Needs Feedback
- Target version deleted (
0)
As this report is very old, is the handling in newer TYPO3 CMS Versions (like 6.0/6.1) more like you expect it?
Updated by Myroslav Holyak over 11 years ago
Nope, still the same. Of course it is not actual for me now, but in general i think this could be a nice feature if using cObj from php code.
I think I could finally start using git, make a patch and make a code review.
Updated by Alexander Opitz over 11 years ago
- Status changed from Needs Feedback to New
Updated by Mathias Schreiber almost 10 years ago
- Assignee set to Mathias Schreiber
- Target version set to 7.2 (Frontend)
- Sprint Focus set to Remote Sprint
Updated by Gerrit Code Review almost 10 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36040
Updated by Gerrit Code Review almost 10 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36040
Updated by Gerrit Code Review almost 10 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36040
Updated by Gerrit Code Review almost 10 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36040
Updated by Mathias Schreiber almost 10 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 469163eba2257580aa0bf36ee16483a5fa418824.
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed