Пример #1
0
 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) . ')';
     }
 }
Пример #2
0
 public function getEscapedValue()
 {
     $value = is_null($this->value) ? $this->defaultValue : $this->value;
     return '(' . FdfWriter::escapePdfString($value) . ')';
 }
Пример #3
0
 public function getEscapedValue()
 {
     return '(' . FdfWriter::escapePdfName($this->value) . ')';
 }