[TYPO3-templavoila] RFC #8321: Bug: Control Center unavailable

Xavier Perseguers typo3 at perseguers.ch
Sun May 4 18:07:53 CEST 2008


Xavier Perseguers wrote:
> Hi Chris,
> 
>>> Use the modern variable $_GET instead
>>>
>>> Regards
>>
>> i think you should use t3lib_div::_GET() instead of $_GET regarding to 
>> the typo3
>> coding guidelines.
>> for more detail the typo3 Coding Guidelines:
>> http://typo3.org/documentation/document-library/core-documentation/doc_core_cgl/4.1.0/view/1/3/#id3520845 
> 
> 
> I know this coding guidelines but I think (I should double check to be 
> sure) that t3lib_div::_GET() is used to return the value of a given 
> parameter, e.g. t3lib_div::_GET('param') and not to return the whole 
> record of GET parameters that is needed in TV case. But I'll check.

After reading the t3lib_div class (what I should have double check 
*before* :D), t3lib_div::_GET() does return the whole record. I'll 
update my patch.

Thanks for your remark.

-- 
Xavier Perseguers
http://xavier.perseguers.ch/en


More information about the TYPO3-project-templavoila mailing list