Entity/DocumentRepository.php
changeset 34 21fab44f46fe
parent 30 d2fba1e3b94b
child 37 9ba15af20acc
--- 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 <multitype:, \Doctrine\ORM\mixed, \Doctrine\DBAL\Driver\Statement, \Doctrine\ORM\Internal\Hydration\mixed>
      */
     function search(array $values, array $conditions=NULL)
     {