Pimcore\Model\Object\Classificationstore\GroupConfig\Dao::hasChildren PHP Метод

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

public hasChildren ( )
    public function hasChildren()
    {
        try {
            $amount = (int) $this->db->fetchOne("SELECT COUNT(*) as amount FROM " . self::TABLE_NAME_GROUPS . " where parentId= " . $this->model->id);
        } catch (\Exception $e) {
        }
        return $amount;
    }