you build your conditions?
>>
>> Anja
>>
>> -Ursprüngliche Nachricht-
>> Von: cake-php@googlegroups.com [mailto:cake-...@googlegroups.com] Im Auftrag
>> von marco.rizze...@gmail.com
>> Gesendet: Freitag, 20. Februar 2009 11:45
>> An: Cak
Not sure if this is what you want, but for filtering purposes I like
to use find.
http://book.cakephp.org/view/449/find
$groups = $this->Model->find('list', array(
'conditions'=>array('Model.field' =>
exempleValue),
'fields'=>array(
Nachricht-
> Von: cake-php@googlegroups.com [mailto:cake-...@googlegroups.com] Im Auftrag
> von marco.rizze...@gmail.com
> Gesendet: Freitag, 20. Februar 2009 11:45
> An: CakePHP
> Betreff: How avoid some filter conditions
>
> Hi
> I have this situation.
> I have creat
reitag, 20. Februar 2009 11:45
An: CakePHP
Betreff: How avoid some filter conditions
Hi
I have this situation.
I have create an action in my controller where I can do search on a model
(search on every field of my model).
Now I have that I would that some field must be except from conditions.
Is
Hi
I have this situation.
I have create an action in my controller where I can do search on a
model (search on every field of my model).
Now I have that I would that some field must be except from
conditions.
Is better if I do the filtering on the conditions on a method of the
model or with a com