diff -r d2fba1e3b94b -r 21fab44f46fe Entity/DocumentTagRepository.php --- a/Entity/DocumentTagRepository.php Wed Nov 09 16:25:13 2011 +0100 +++ b/Entity/DocumentTagRepository.php Thu Nov 17 11:29:26 2011 +0100 @@ -67,12 +67,24 @@ return $qb; } + /** + * + * Enter description here ... + * @param unknown_type $external_id + * @param array $filter_array + */ public function findByDocumentExternalId($external_id, array $filter_array=null) { $qb = $this->createQueryBuilderByDocumentExternalId($external_id, $filter_array); return $qb->getQuery()->getResult(); } + /** + * + * Enter description here ... + * @param unknown_type $external_id + * @param array $filter_array + */ public function findOneByDocumentExternalId($external_id, array $filter_array=null) { $qb = $this->createQueryBuilderByDocumentExternalId($external_id, $filter_array)->setMaxResults(1);