MetaModels\DcGeneral\Data\Driver::getCount PHP Метод

getCount() публичный Метод

Return the amount of total items (filtering may be used in the config).
public getCount ( ContaoCommunityAlliance\DcGeneral\Data\ConfigInterface $objConfig ) : integer
$objConfig ContaoCommunityAlliance\DcGeneral\Data\ConfigInterface The filter config options.
Результат integer
    public function getCount(ConfigInterface $objConfig)
    {
        $objFilter = $this->prepareFilter($objConfig);
        return $this->getMetaModel()->getCount($objFilter);
    }