[TYPO3-core] RFC #13418: Allow t3lib_div::_GETset() to set specified key

Felix Oertel post at typo3felix.de
Thu Feb 18 13:06:08 CET 2010


#REMINDER 1

Am 08.02.10 18:15, schrieb Felix Oertel:
> Hi guys,
>
> this is a SVN patch request.
>
> Type: Feature
>
> Bugtracker references: http://bugs.typo3.org/view.php?id=13418
>
> Branches: Trunk
>
> Problem:
> At the moment t3lib_div::_GETset() is only able to replace hole arrays
> in $_GET. If you want to set $_GET['foo']['bar'], this is not possible
> without deleting everything else in $_GET['foo'].
>
> It would be nice to set keys directly like t3lib_div::_GETset('value',
> 'foo|bar');
>
> Solution:
> Tune up _GETset() ;-)
>
> Testcase:
> I attached a userFunc-PHP you can use from fileadmin/ to test the
> different ways of setting $_GET-vars through t3lib_div::_GETset()
>
> Regards, Felix
> typo3felix.de


More information about the TYPO3-team-core mailing list