Feature #17667
closedMake FORM capabele to set multidimensional vars automatically
0%
Description
Situation:
Correct naming for vars of a extension requires to use the extsions prefixId to receive the vars automatically. But if you uses this convention to get a FORM in your extension rendered, FORMs will not be able to revieve and display this vars automatically.
After dicussion on dev I decided to extend t3lib_content and add the new required function there. IMHO it would make more to add this to t3lib_div as a static as this might be also helpful for BE or extension developement.
But life is to short to do it by my own...
This new function checks a multidimensional key can be found in an array
e.g.
$key=array('tx_myextension' => array('var1' => 0) or
$key=parse_str('tx_myextension[var1]0')
against any array, e.g $_POST or $_GET and is capable to return either true/false or the value if found.
Works also for plain keys ;-)
(issue imported from #M6494)
Files
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 Alexander Opitz about 11 years ago
- Status changed from Needs Feedback to Closed
No feedback for over 90 days.