Lines Matching refs:typ
113 $typ=substr($field, -4);
116 if ($typ == 'roup') { # group list type
122 } elseif ($typ == 'user') { # user list type
320 $typ=substr($field, -4);
322 if ($typ == 'roup') { # group list type
328 } elseif ($typ == 'user') { # user list type
345 private function _validate_value($val, $typ, $as_array=False, $multiline=False){ argument
348 foreach ($val as $v) { $this->_validate_value($v, $typ, False, $multiline); }
351 if ($typ == 'email' || $typ == 'to' || $typ == 'from' || $typ == 'cc' || $typ == 'bcc') {
352 if(!mail_isvalid($val)) $this->_set_error("valid_".$typ, Null, $typ);
355 $this->_set_error("valid_".$typ, Null, $typ);