[TYPO3-core] RFC: #10357: Add gp as an alternative to gpvar in TS getText for a more consistent naming scheme

Steffen Kamper info at sk-typo3.de
Thu Feb 5 12:43:31 CET 2009


Hi,

Steffen Müller schrieb:
> Hi.
> 
> This is an SVN patch request.
> 
> Type: Feature
> 
> Bugtracker reference: http://bugs.typo3.org/view.php?id=10357
> 
> Branches: trunk
> 
> Problem:
> The processing of GET/POST variables in TypoScript does not have a
> consistent naming scheme:
>  - TS conditions use GP for GET/POST vars in globalVar and globalString.
>  - TS getText uses GPvar
> User might be confused by an inconsistent naming scheme.
> 
> Solution:
> Since t3lib_div::GPvar is deprecated, GP should be also used in getText.
> For backward compatibility, leave gpvar as is and add gp as an alternative.
> 
> 

+1 by reading. This is good anyway as GPvar in t3lib_div is set to 
deprecated.

vg Steffen


More information about the TYPO3-team-core mailing list