hello,
I'm trying to do some more complex where with Model_Crud but can't figure out how to define or in the where array
something like that
'where' => array(
'active' => 'yes',
'OR' => '('
'banned' => 'no',
'OR' => ')'
),
I then looked at using the Closure as there I know how to use that kind of complex where
but I need a lot of param (like userid, status,... ) to the where and I'm not sure how to pass them to the closure
Anybody got any tip for me?
Thanks a lot
Chris