Open Journal Systems
3.3.0
|
Public Member Functions | |
__construct (string $name, $ids) | |
getBody () | |
getBodyAsString () | |
getId () | |
getIds () | |
setBody ($body) | |
setId ($id) | |
setIds (array $ids) | |
![]() | |
__construct (string $name) | |
getCharset () | |
getLanguage () | |
getMaxLineLength () | |
getName () | |
setCharset (string $charset) | |
setLanguage (string $lang) | |
setMaxLineLength (int $lineLength) | |
toString () | |
Additional Inherited Members | |
![]() | |
const | PHRASE_PATTERN = '(?:(?:(?:(?:(?:(?:(?:[ \t]*(?:\r\n))?[ \t])?(\((?:(?:(?:[ \t]*(?:\r\n))?[ \t])|(?:(?:[\x01-\x08\x0B\x0C\x0E-\x19\x7F]|[\x21-\x27\x2A-\x5B\x5D-\x7E])|(?:\\[\x00-\x08\x0B\x0C\x0E-\x7F])|(?1)))*(?:(?:[ \t]*(?:\r\n))?[ \t])?\)))*(?:(?:(?:(?:[ \t]*(?:\r\n))?[ \t])?(\((?:(?:(?:[ \t]*(?:\r\n))?[ \t])|(?:(?:[\x01-\x08\x0B\x0C\x0E-\x19\x7F]|[\x21-\x27\x2A-\x5B\x5D-\x7E])|(?:\\[\x00-\x08\x0B\x0C\x0E-\x7F])|(?1)))*(?:(?:[ \t]*(?:\r\n))?[ \t])?\)))|(?:(?:[ \t]*(?:\r\n))?[ \t])))?[a-zA-Z0-9!#\$%&\'\*\+\-\/=\?\^_`\{\}\|~]+(?:(?:(?:(?:[ \t]*(?:\r\n))?[ \t])?(\((?:(?:(?:[ \t]*(?:\r\n))?[ \t])|(?:(?:[\x01-\x08\x0B\x0C\x0E-\x19\x7F]|[\x21-\x27\x2A-\x5B\x5D-\x7E])|(?:\\[\x00-\x08\x0B\x0C\x0E-\x7F])|(?1)))*(?:(?:[ \t]*(?:\r\n))?[ \t])?\)))*(?:(?:(?:(?:[ \t]*(?:\r\n))?[ \t])?(\((?:(?:(?:[ \t]*(?:\r\n))?[ \t])|(?:(?:[\x01-\x08\x0B\x0C\x0E-\x19\x7F]|[\x21-\x27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\\[\x00-\x08\x0B\x0C\x0E-\x7F])|(?1)))*(?:(?:[ \t]*(?:\r\n))?[ \t])?\)))|(?:(?:[ \t]*(?:\r\n))?[ \t])))?))+?)' |
![]() | |
createPhrase (HeaderInterface $header, string $string, string $charset, bool $shorten=false) | |
encodeWords (HeaderInterface $header, string $input, int $usedLength=-1) | |
generateTokenLines (string $token) | |
getEncodableWordTokens (string $string) | |
getTokenAsEncodedWord (string $token, int $firstLineOffset=0) | |
tokenNeedsEncoding (string $token) | |
toTokens (string $string=null) | |
An ID MIME Header for something like Message-ID or Content-ID (one or more addresses).
Definition at line 22 of file IdentificationHeader.php.
Symfony\Component\Mime\Header\IdentificationHeader::__construct | ( | string | $name, |
$ids | |||
) |
string | array | $ids |
Definition at line 30 of file IdentificationHeader.php.
References Symfony\Component\Mime\Header\IdentificationHeader\setId().
Symfony\Component\Mime\Header\IdentificationHeader::getBody | ( | ) |
Gets the body.
The return type depends on the Header concrete class.
Implements Symfony\Component\Mime\Header\HeaderInterface.
Definition at line 47 of file IdentificationHeader.php.
References Symfony\Component\Mime\Header\IdentificationHeader\getIds().
Symfony\Component\Mime\Header\IdentificationHeader::getBodyAsString | ( | ) |
Gets the header's body, prepared for folding into a final header value.
This is not necessarily RFC 2822 compliant since folding white space is not added at this stage (see toString() for that).
Implements Symfony\Component\Mime\Header\HeaderInterface.
Definition at line 101 of file IdentificationHeader.php.
Symfony\Component\Mime\Header\IdentificationHeader::getId | ( | ) |
Get the ID used in the value of this Header.
If multiple IDs are set only the first is returned.
Definition at line 69 of file IdentificationHeader.php.
Symfony\Component\Mime\Header\IdentificationHeader::getIds | ( | ) |
Get the list of IDs used in this Header.
Definition at line 96 of file IdentificationHeader.php.
Referenced by Symfony\Component\Mime\Header\IdentificationHeader\getBody().
Symfony\Component\Mime\Header\IdentificationHeader::setBody | ( | $body | ) |
string | array | $body | a string ID or an array of IDs |
RfcComplianceException |
Implements Symfony\Component\Mime\Header\HeaderInterface.
Definition at line 42 of file IdentificationHeader.php.
References Symfony\Component\Mime\Header\IdentificationHeader\setId().
Symfony\Component\Mime\Header\IdentificationHeader::setId | ( | $id | ) |
Set the ID used in the value of this header.
string | array | $id |
RfcComplianceException |
Definition at line 59 of file IdentificationHeader.php.
References Symfony\Component\Mime\Header\IdentificationHeader\setIds().
Referenced by Symfony\Component\Mime\Header\IdentificationHeader\__construct(), and Symfony\Component\Mime\Header\IdentificationHeader\setBody().
Symfony\Component\Mime\Header\IdentificationHeader::setIds | ( | array | $ids | ) |
Set a collection of IDs to use in the value of this Header.
string[] | $ids |
RfcComplianceException |
Definition at line 81 of file IdentificationHeader.php.
Referenced by Symfony\Component\Mime\Header\IdentificationHeader\setId().