ModelBundle/Repository/BlockRepository.php
public function countBySiteIdAndLanguage($siteId, $language, $transverse)
    {
        $qa = $this->createAggregationQueryBuilderWithSiteIdAndLanguage($siteId, $language, $transverse);

        return $this->countDocumentAggregateQuery($qa);
    }
public function countBySiteIdAndLanguage($siteId, $language, $transverse)
    {
        $qa = $this->createAggregationQueryBuilderWithSiteIdAndLanguage($siteId, $language, $transverse);

        return $this->countDocumentAggregateQuery($qa);
    }
public function countBySiteIdAndLanguage ( $ siteId , $ language , $ transverse ) { $ qa = $ this -> createAggregationQueryBuilderWithSiteIdAndLanguage ( $ siteId , $ language , $ transverse ) ; return $ this -> countDocumentAggregateQuery ( $ qa ) ; }
@param string  $siteId
@param string  $language
@param boolean $transverse

@return int
@param string $siteId @param string $language @param boolean $transverse