Class Swift_Mime_Grammar
Defines the grammar to use for validation, implements the RFC 2822 (and friends) ABNF grammar definitions.
Package: Swift\Mime
Author: Fabien Potencier
Author: Chris Corbyn
Located at classes/swiftmailer/lib/classes/Swift/Mime/Grammar.php
Author: Fabien Potencier
Author: Chris Corbyn
Located at classes/swiftmailer/lib/classes/Swift/Mime/Grammar.php
public
|
|
public
|
|
protected
|
|
public
string
|
|
public
array
|
|
public
array
|
#
getSpecials( )
Returns the current special characters used in the syntax which need to be escaped. |
public
string
|
#
escapeSpecials( string $token, string[] $include = array(), string[] $exclude = array() )
Escape special characters in a string (convert to quoted-pairs). |
private static
string[]
|
$_specials
Special characters used in the syntax which need to be escaped. |
#
array()
|
private static
string[]
|
$_grammar
Tokens defined in RFC 2822 (and some related RFCs). |
#
array()
|