[TYPO3-dev] RFC #11120: stdWrap for TypoScript-select parameters

Jigal van Hemert jigal at xs4all.nl
Tue Jun 9 06:46:53 CEST 2009


>> TypoScript requires that values keep untouched referring quotes
>> because stWrap and other Options can be inherited - Quoting could
>> breakdown the concept.

Can't we take a different approach?
If there would be a new type of select function which functions like a PDO
prepare() function [1]?
This should force the use of some kind of markers (similar to the way
constants are now inserted as data: {$constant} ) and thus the quoting and
escaping can be left to the core.

The marker definitions should allow for full stdWrap (and perhaps more) to
enable integrators to build the right values for the markers.

[1] http://www.php.net/manual/en/pdo.prepare.php

-- 
Jigal van Hemert.





More information about the TYPO3-dev mailing list