applyRelation($query); return $query->where("{$this->getDbName()} = '{$this->getValue()}'"); } public function isEmpty() { return $this->getValue() == null || $this->getValue() == ''; } } ?>