コード例 #1
0
 /**
  * @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 filterArray($filters = array(), $order = null)
 {
     $em = $this->getEntityManager();
     $class = $this->getEntityName();
     $r = UtilRepository2::filterRecordsTable($em, $class, $filters, $order, ResultType::ArrayType);
     return $r;
 }