[TYPO3-dev] RFC: Make TYPO3 piVars capable

Peter Russ peter.russ at 4many.net
Wed Oct 10 07:51:10 CEST 2007


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.

Recommendation:
Change t3lib_div::GParrayMerged that way that it creates the missing 
keys automatically, i.e. 
$_POST['tx_myextension_pi1[var]']=$_POST['tx_myextension_pi1']['var']

Any security concerns?

Disadvantage:t3lib_div::GParrayMerged is marked as deprecated :-(
Any other option to get this fixed automatically?

Regs. Peter.


-- 
Fiat lux!
Docendo discimus.
_____________________________
4Many® Services
XING: http://www.xing.com/go/invuid/Peter_Russ




More information about the TYPO3-dev mailing list