[TYPO3-50-general] Competition: Best replacement for "and"/"or" wanted!

Karsten Dambekalns karsten at typo3.org
Wed Jul 23 08:45:15 CEST 2008


Hi Ries.

ries van Twisk wrote:
> What about,
> 
> $query->_and($query->equals('name', $var)->equals('tag', $var2));

I had thought about that, but usually (in the PHP world), the leading 
underscore denotes protected/private methods. So it might be misleading 
to some...

Regards,
Karsten


More information about the TYPO3-project-5_0-general mailing list