protected function buildDataTablesCountFiltered(DataTablesWrapperInterface $dtWrapper) {

        $prefix = $dtWrapper->getMapping()->getPrefix();

        $qb = $this->createQueryBuilder($prefix)
            ->select("COUNT(" . $prefix . ")");

        DataTablesRepositoryHelper::appendWhere($qb, $dtWrapper);

        return $qb;
    }
protected function buildDataTablesCountFiltered(DataTablesWrapperInterface $dtWrapper) {

        $prefix = $dtWrapper->getMapping()->getPrefix();

        $qb = $this->createQueryBuilder($prefix)
            ->select("COUNT(" . $prefix . ")");

        DataTablesRepositoryHelper::appendWhere($qb, $dtWrapper);

        return $qb;
    }
protected function buildDataTablesCountFiltered ( DataTablesWrapperInterface $ dtWrapper ) { $ prefix = $ dtWrapper -> getMapping ( ) -> getPrefix ( ) ; $ qb = $ this -> createQueryBuilder ( $ prefix ) -> select ( "COUNT(" . $ prefix . ")" ) ; DataTablesRepositoryHelper :: appendWhere ( $ qb , $ dtWrapper ) ; return $ qb ; }
Build a query builder "Count filtered".

@param DataTablesWrapperInterface $dtWrapper The wrapper.
@return QueryBuilder Returns the query builder "Count filtered".
Build a query builder Count filtered .