[TYPO3-core] RFC #12351: Clean-up SQL parser and SQL engine

Xavier Perseguers typo3 at perseguers.ch
Mon Oct 26 17:38:10 CET 2009


Hi,

>> It's a bit tricky in all cases as we have this in Core:
>>
>> class t3lib_sqlengine extends t3lib_sqlparser
>>
>> and in DBAL:
>>
>> class ux_t3lib_sqlengine extends t3lib_sqlengine
>> class ux_t3lib_sqlparser extends t3lib_sqlparser
>>
>> Meaning we loose in ux_t3lib_sqlengine what was overriden in
>> ux_t3lib_sqlparser, which is why we have to copy lots of code from
>> ux_t3lib_sqlparser.
> 
> Urgh, yea that looks ugly. Correct would be that sqlengine doesn't
> extend sqlparser, but instead internally make use of sqlparser. Probably
> "too late" to change that.

Hum, good point the use of a member... Will have to try to do it, it might not be that tricky...

-- 
Xavier Perseguers
http://xavier.perseguers.ch/en

One contribution a day keeps the fork away


More information about the TYPO3-team-core mailing list