public function getSelect() { return sprintf('%s.%s', $this->entityName, $this->fieldName); }
/** * {@inheritdoc} */ public function getSearch() { return sprintf('%s LIKE :search OR (%s is NULL AND %s LIKE :search)', $this->case1->getSelect(), $this->case1->getSelect(), $this->case2->getSelect()); }