adding array conditions to the CakeResource