No se si te entendi bieni
miktrv, pero podrias implementar un finder generico y varios finders que sean proxy al generico, algo asi:
Código PHP:
Ver originalpublic function find
($where = array(), $order = array(), $page = false) {
...
}
public function findByColor
($color, $order = array(), $page = false) {
return $this->find(array('color' => $color), $order, $page); }
public function findByColorWithEyes
($color, $eyes, $order = array(), $page = false) {
return $this->find(array('color' => $color, 'eyes' => $eyes), $order, $page); }