Pimcore\Model\Tool\Email\Log\Listing\Dao::getTotalCount PHP Метод

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

Returns the total amount of Email_Log entries
public getTotalCount ( ) : integer
Результат integer
    public function getTotalCount()
    {
        try {
            $amount = (int) $this->db->fetchOne("SELECT COUNT(*) as amount FROM email_log " . $this->getCondition(), $this->model->getConditionVariables());
        } catch (\Exception $e) {
        }
        return $amount;
    }