protected function getValueForControl() { // If the SavedQuery has an alias for an order, map it to the canonical // name for the order so the correct option is selected in the dropdown. $value = parent::getValueForControl(); if (isset($this->orderAliases[$value])) { $value = $this->orderAliases[$value]; } return $value; }
protected function getValueForControl() { $value = parent::getValueForControl(); if ($value === true) { return 'true'; } if ($value === false) { return 'false'; } return null; }
protected function getValueForControl() { return implode(', ', parent::getValueForControl()); }