/** * @param string $fullName Determines the name of the field, as well as the searched database * column. Can contain a relation name in dot notation, which will automatically join * the necessary tables (e.g. "Comments.Name" to join the "Comments" has-many relationship and * search the "Name" column when applying this filter to a SiteTree class). * @param mixed $value [optional] * @param array $modifiers [optional] * @param array $otherFields [optional] */ public function __construct($fullName, $value = false, array $modifiers = array(), array $otherFields = array()) { parent::__construct($fullName, $value, $modifiers); if ($value !== false) { $this->setValue($value); } $this->setSubfilters($otherFields); }