getFieldSettings($this->key.'.from', ['>=', '>', '=']); ?>
&
getFieldSettings($this->key.'.to', ['<=', '<', '=']); ?> getFilter($this->key.'.from', ['>=', '>', '='])) { $where .= ' AND ('.$this->key.' '.$filter['compare'].' "'.$filter['value'].'")'; } if ($filter = $this->getFilter($this->key.'.to', ['<=', '<', '='])) { $where .= ' AND ('.$this->key.' '.$filter['compare'].' "'.$filter['value'].'")'; } return $where; } /** **************************************************************************************************** */ }