Make FORM capabele to set multidimensional vars automatically
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
$key=array('tx_myextension' => array('var1' => 0) or
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)