Pimcore\Model\Object\Classificationstore\CollectionGroupRelation\Listing\Dao::getTotalCount PHP Метод

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

public getTotalCount ( ) : integer
Результат integer
    public function getTotalCount()
    {
        try {
            $amount = (int) $this->db->fetchOne("SELECT COUNT(*) as amount FROM " . Object\Classificationstore\CollectionGroupRelation\Dao::TABLE_NAME_RELATIONS . " " . $this->getCondition(), $this->model->getConditionVariables());
        } catch (\Exception $e) {
        }
        return $amount;
    }