Class HeaderValue

Summary

Fully Qualified Name: Zend\Mail\Header\HeaderValue

Description

Methods

Name Description Defined By
assertValid() Assert that the header value is valid. HeaderValue
filter() Filter the header value according to RFC 2822 HeaderValue
isValid() Determine if the header value contains any invalid characters. HeaderValue

Method Details

assertValid()

Assert that the header value is valid.

Raises an exception if invalid.

Parameter Name Type Description
$value string

Returns: void

filter()

Filter the header value according to RFC 2822

Parameter Name Type Description
$value string

Returns: string

isValid()

Determine if the header value contains any invalid characters.

Parameter Name Type Description
$value string

Returns: bool

Top