/** * @author Franlin Rivero Grcia <*****@*****.**> * @param array $filters Arreglo asociativo campo => valor * @param ResultType $resultType * @param type $order Campo por el que se va a ordenar (El orden por denominacion y activo es por defecto) * @param type $page * @return type */ public function filterWithAsociations($filters = array(), $order = null, $resultType = ResultType::ObjectType, $page = null) { $em = $this->getEntityManager(); $class = $this->getEntityName(); $r = UtilRepository2::filterRecordsTableWithAsociations($em, $class, $filters, $order, $resultType, $page); return $r; }