Pimcore\Model\Object\KeyValue\GroupConfig\Listing\Dao::getTotalCount PHP Method

getTotalCount() public method

public getTotalCount ( ) : integer
return integer
    public function getTotalCount()
    {
        try {
            $amount = (int) $this->db->fetchOne("SELECT COUNT(*) as amount FROM " . Object\KeyValue\GroupConfig\Dao::TABLE_NAME_GROUPS . " " . $this->getCondition(), $this->model->getConditionVariables());
        } catch (\Exception $e) {
        }
        return $amount;
    }