/** * Display a single value * * @param string|array $value * @return string */ public function displayValue($values) { if (is_scalar($values) && !empty($this->splitter)) { $values = explode($this->splitter, $values); } $result = ''; $first = true; $values = (array) $values; foreach ($values as $value) { if ($first) { $first = false; } else { $result .= $this->separator; } $result .= parent::displayValue($value); } return $result; }