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

Steffen Müller typo3 at t3node.com
Thu Feb 5 11:58:05 CET 2009


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.

-- 
cheers,
Steffen

http://www.t3node.com/




-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug_10357.diff
Type: text/x-patch
Size: 506 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090205/515e852b/attachment.bin 


More information about the TYPO3-team-core mailing list