diff -r d2fba1e3b94b -r 21fab44f46fe Entity/DocumentRepository.php --- a/Entity/DocumentRepository.php Wed Nov 09 16:25:13 2011 +0100 +++ b/Entity/DocumentRepository.php Thu Nov 17 11:29:26 2011 +0100 @@ -208,11 +208,13 @@ $this->getEntityManager()->persist($document); } + /** * * Enter description here ... - * @param array $values : key: the fields to search into, value array('value'=>value, 'weight'=>weight) - * @param unknown_type $conditions + * @param array $values : key: the fields to search into, value : array('value'=>value, 'weight'=>weight) + * @param array $conditions : array : key : field name, value : simple value (operator is "=") or array(valuea, value2,...) (operatr is IN) or array("operator"=>"", "value"=>value) + * @return Ambigous */ function search(array $values, array $conditions=NULL) {