Pimcore\Model\Object\Classificationstore\KeyConfig\Listing\Dao::getCondition PHP Method

getCondition() protected method

protected getCondition ( ) : string
return string
    protected function getCondition()
    {
        $condition = $this->model->getIncludeDisabled() ? "enabled is null or enabled is 0" : "enabled = 1";
        $cond = $this->model->getCondition();
        if ($cond) {
            $condition = $condition . " AND (" . $cond . ")";
        }
        if ($condition) {
            return " WHERE " . $condition . " ";
        }
        return "";
    }