Lines Matching refs:val
95 * @param string $val
98 public function setRawMimeDirValue($val) { argument
100 $this->setValue(MimeDir::unescapeValue($val, $this->delimiter));
107 * @param string $val
110 public function setQuotedPrintableValue($val) { argument
112 $val = quoted_printable_decode($val);
121 $matches = preg_split($regex, $val);
133 $val = $this->getParts();
136 $val = array_pad($val, $this->minimumPropertyValues[$this->name], '');
139 foreach($val as &$item) {
161 return implode($this->delimiter, $val);
211 $val = $this->getParts();
214 $val = array_pad($val, $this->minimumPropertyValues[$this->name], '');
219 if (count($val)>1) {
220 foreach($val as $k=>$v) {
221 $val[$k] = str_replace(';','\;', $v);
223 $val = implode(';', $val);
225 $val = $val[0];
243 if (strpos($val,"\n") !== false) {
253 for($ii=0;$ii<strlen($val);$ii++) {
254 $ord = ord($val[$ii]);
257 $lastLine.=$val[$ii];
259 $lastLine.='=' . strtoupper(bin2hex($val[$ii]));
272 $str.=':' . $val;