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