[TYPO3-50-general] Competition: Best replacement for "and"/"or" wanted!
Sebastian Müller
mueller at privasphere.com
Wed Jul 23 15:04:50 CEST 2008
I would suggest:
Lopand : logial php AND
Lopor : logical php OR
-----Ursprüngliche Nachricht-----
Von: typo3-project-5_0-general-bounces at lists.netfielders.de
[mailto:typo3-project-5_0-general-bounces at lists.netfielders.de] Im Auftrag
von Christoph Blömer
Gesendet: Mittwoch, 23. Juli 2008 13:13
An: TYPO3 5.0 Development discussion list
Betreff: Re: [TYPO3-50-general] Competition: Best replacement for "and"/"or"
wanted!
Hi,
what about:
and = intersect
or = union
Thats more from the view of the theory of sets.
If I use "and" I restrict the set of available Rows in the database.
When I use "or" I expand the set of available Rows.
Regards,
Christoph
Karsten Dambekalns schrieb:
> 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
> _______________________________________________
> TYPO3-project-5_0-general mailing list
> TYPO3-project-5_0-general at lists.netfielders.de
>
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-5_0-gener
al
>
>
_______________________________________________
TYPO3-project-5_0-general mailing list
TYPO3-project-5_0-general at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-5_0-gener
al
More information about the TYPO3-project-5_0-general
mailing list