equal
deleted
inserted
replaced
65 $qb = $qb->setParameters($params); |
65 $qb = $qb->setParameters($params); |
66 |
66 |
67 return $qb; |
67 return $qb; |
68 } |
68 } |
69 |
69 |
|
70 /** |
|
71 * |
|
72 * Enter description here ... |
|
73 * @param unknown_type $external_id |
|
74 * @param array $filter_array |
|
75 */ |
70 public function findByDocumentExternalId($external_id, array $filter_array=null) |
76 public function findByDocumentExternalId($external_id, array $filter_array=null) |
71 { |
77 { |
72 $qb = $this->createQueryBuilderByDocumentExternalId($external_id, $filter_array); |
78 $qb = $this->createQueryBuilderByDocumentExternalId($external_id, $filter_array); |
73 return $qb->getQuery()->getResult(); |
79 return $qb->getQuery()->getResult(); |
74 } |
80 } |
75 |
81 |
|
82 /** |
|
83 * |
|
84 * Enter description here ... |
|
85 * @param unknown_type $external_id |
|
86 * @param array $filter_array |
|
87 */ |
76 public function findOneByDocumentExternalId($external_id, array $filter_array=null) { |
88 public function findOneByDocumentExternalId($external_id, array $filter_array=null) { |
77 |
89 |
78 $qb = $this->createQueryBuilderByDocumentExternalId($external_id, $filter_array)->setMaxResults(1); |
90 $qb = $this->createQueryBuilderByDocumentExternalId($external_id, $filter_array)->setMaxResults(1); |
79 |
91 |
80 try { |
92 try { |