public function findByArea($area)
    {
        $qb = $this->getQueryBuilder();
        $qb
            ->addSelect("fb_fa")
            ->addSelect("fb_fa_f")
            ->innerJoin("fb.filterAddeds", "fb_fa")
            ->innerJoin("fb_fa.filter", "fb_fa_f")
            ->andWhere("fb.area = :area")
            ->setParameter("area", $area)
            ;
        $qb
            ->orderBy("fb.orderBlock","ASC")
            ->addOrderBy("fb_fa.orderFilter","ASC")
            ;
        return $qb->getQuery()->getResult();
    }
public function findByArea($area)
    {
        $qb = $this->getQueryBuilder();
        $qb
            ->addSelect("fb_fa")
            ->addSelect("fb_fa_f")
            ->innerJoin("fb.filterAddeds", "fb_fa")
            ->innerJoin("fb_fa.filter", "fb_fa_f")
            ->andWhere("fb.area = :area")
            ->setParameter("area", $area)
            ;
        $qb
            ->orderBy("fb.orderBlock","ASC")
            ->addOrderBy("fb_fa.orderFilter","ASC")
            ;
        return $qb->getQuery()->getResult();
    }
public function findByArea ( $ area ) { $ qb = $ this -> getQueryBuilder ( ) ; $ qb -> addSelect ( "fb_fa" ) -> addSelect ( "fb_fa_f" ) -> innerJoin ( "fb.filterAddeds" , "fb_fa" ) -> innerJoin ( "fb_fa.filter" , "fb_fa_f" ) -> andWhere ( "fb.area = :area" ) -> setParameter ( "area" , $ area ) ; $ qb -> orderBy ( "fb.orderBlock" , "ASC" ) -> addOrderBy ( "fb_fa.orderFilter" , "ASC" ) ; return $ qb -> getQuery ( ) -> getResult ( ) ; }
Busca los bloques de una area
@param type $area
@return type
Busca los bloques de una area