[TYPO3-50-general] Competition: Best replacement for "and"/"or" wanted!
ries van Twisk
typo3 at rvt.dds.nl
Wed Jul 23 00:10:58 CEST 2008
What about,
$query->_and($query->equals('name', $var)->equals('tag', $var2));
Ries
On Jul 22, 2008, at 5:02 PM, Karsten Dambekalns wrote:
> Hi Ries.
>
> ries van Twisk wrote:
>> may be you can explain first we you want to call a method AND or OR
>> and
>> give an example?
>
> Yes, sorry, I missed that. :) I am planning a fluent interface to
> specify queries against the persistence layer of FLOW3. And for
> specifying criteria we need ways to combine matchers with each other.
>
> Something like this:
> $query->and($query->equals('name', $var)->equals('tag', $var2));
>
> Karsten
> _______________________________________________
>
Ries van Twisk
tags: Freelance TYPO3 Glassfish JasperReports JasperETL Flex Blaze-DS
WebORB PostgreSQL DB-Architect
email: ries at vantwisk.nl
web: http://www.rvantwisk.nl/
skype: callto://r.vantwisk
More information about the TYPO3-project-5_0-general
mailing list