protected function buildDataTablesCountTotal(DataTablesWrapperInterface $dtWrapper) {

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

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

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

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

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

        return $qb;
    }
protected function buildDataTablesCountTotal ( DataTablesWrapperInterface $ dtWrapper ) { $ prefix = $ dtWrapper -> getMapping ( ) -> getPrefix ( ) ; $ qb = $ this -> createQueryBuilder ( $ prefix ) -> select ( "COUNT(" . $ prefix . ")" ) ; return $ qb ; }
Build a query builder "Count total".

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