Feature #20767
closed
wrong getData behaviour with field parameter
Added by Myroslav Holyak about 15 years ago.
Updated almost 7 years ago.
Sprint Focus:
Remote Sprint
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
Can you please give an example how you use it?
How do you get nested database fields?
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.
- 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?
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.
- Status changed from Needs Feedback to New
- Assignee set to Mathias Schreiber
- Target version set to 7.2 (Frontend)
- Sprint Focus set to Remote Sprint
- 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
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
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
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
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF