[TYPO3-50-general] Competition: Best replacement for "and"/"or" wanted!
Karsten Dambekalns
karsten at typo3.org
Wed Jul 23 00:02:32 CEST 2008
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
More information about the TYPO3-project-5_0-general
mailing list