[TYPO3-core] RFC #12094: Bug (<- Feature, not bug...) : stdWrap function fullQuoteStr

Bastian Waidelich bastian at typo3.org
Thu Oct 1 17:26:25 CEST 2009


Fabrizio Branca wrote:

Hi,


> Aren't there scenarios where you'd like to 
> use the value escaped but not wrapped into quotes?

Absolutely, e.g:

1.select {
    andWhere.cObject = TEXT
    andWhere.cObject.data = GPvar:parameter
    andWhere.cObject.quoteStr = tt_content
    andWhere.cObject.wrap = header LIKE "|%"
}

Attached patch incorporates this change.

BTW: I think, "fullQuoteStr" & "quoteStr" are fine here.. They are not 
the best method names really, but TYPO3 devs know what they mean..

All the best
Bastian
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 12094_v3.patch
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20091001/9b00a2a1/attachment.txt 


More information about the TYPO3-team-core mailing list