[TYPO3-core] RFC: #11249: Clean up: Deprecation clean-up in tslib_content::getData()

Steffen Müller typo3 at t3node.com
Tue Jun 9 11:51:47 CEST 2009


Hi.

On 05.06.2009 09:19 Dmitry Dulepov wrote:
> I afraid this ia programmer's approach :( If you look into TSRef, you will see that gpvar returns a value from _POST or _GET. So from TS writer's view it is a fully legal functionality and if it suddenly starts giving warnings, it only means one thing: someone broke this functionality. So I am -1 to this change.
> 
> There is a more user friendly way. If we think about customer satisfaction, we can silently change "gpvar" to use t3lib_div::_GP() instead. There will be no need for a new "gp" at all. "gpvar" does have to correspond to t3lib_div::GPvar. Keep TS stable and change the underlying implementation to use better functions. Save people from unnecessary troubles. 
> 

TS getText GPvar already uses t3lib_div::_GP()

There was already a discussion about deprecation in TS stuff.

For the sake of a consistence naming scheme in TS and PHP, I proposed to
add GP as a GPvar equivalent in getText. Ingo mentioned in the core list
to mark GPvar deprecated and people agreed.
see: #10357

-- 
cheers,
Steffen

TYPO3 Blog: http://www.t3node.com/


More information about the TYPO3-team-core mailing list