[TYPO3-dev] Getting id of the page

JoH info at cybercraft.de
Sat Aug 26 02:47:35 CEST 2006


>> If I put
>> $_GET=t3lib_div::_GET();
>> that's do the task.
>
> ??????
> setting the params from the params? :-(

No - overriding an array with the output of a function.
So you don't have to call t3lib_div::_GET() for each and every parameter
when you need it, but simply use $_GET['parametername'] with the small
difference that the value has been "parsed" by the t3lib function before.

Saves you some milliseconds of performance when you have got lots of
different parameters.

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your knob sometimes!)
Dieter Nuhr, German comedian
openBC: http://www.cybercraft.de
T3 cookbook: http://www.typo3experts.com






More information about the TYPO3-dev mailing list