public function getEscapedValue() { $value = is_null($this->value) ? $this->defaultValue : $this->value; if ($this->isMultiSelect() && is_array($value)) { $out = ''; foreach ($value as $val) { $out .= '(' . FdfWriter::escapePdfName($val) . ')'; } return '[ ' . $out . ' ]'; } else { return '(' . FdfWriter::escapePdfName($value) . ')'; } }
public function getEscapedValue() { $value = is_null($this->value) ? $this->defaultValue : $this->value; return '(' . FdfWriter::escapePdfString($value) . ')'; }
public function getEscapedValue() { return '(' . FdfWriter::escapePdfName($this->value) . ')'; }