[TYPO3-dev] Bug/Feature request for t3lib_div::_GP (and alike)

Martin Kutschker martin.kutschker-no at spam-blackbox.net
Fri Jun 6 15:25:20 CEST 2008


Franz Koch schrieb:
> 

I'll try to answer the large part of your post later.

> Besides of the TS-conditions, I currently don't see a benefit from 
> returning only _GET or _POST in t3lib_div::_GP although it's documented 
> like that. What was the initial idea behind this behavior? What's a real 
> life use case where exactly this behavior is needed and where the result 
> can't be a merged array from _GET and _POST? The overall result would be 
> the same, except that in some cases you get more sub-keys/values 
> returned and that multidimensional arrays get correctly processed.

I have never needed that. My code uses usually either or (if not tied to 
POST for eg hidden fields). I see no point in having the same key (with 
different meanings?) in GET and POST. To me this looks only confusing.

Masi




More information about the TYPO3-dev mailing list