Advertisement
Guest User

Untitled

a guest
Sep 30th, 2014
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.34 KB | None | 0 0
  1.             $criteria->params = array(':singoli' => implode(',', $model->RicercaSingoli), ':coppie' => implode(',', $model->RicercaCoppie), ':gruppi' => implode(',', $model->RicercaGruppi));
  2.             $criteria->condition = '((sottocategorie.id IN (:singoli) AND (t.Gruppo = 0 AND t.Coppia = 0))) OR (tipogruppo.id IN (:gruppi)) OR (tipocoppia.id IN (:coppie))';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement