[ Index ]

MailPress 544

[ Index ]     [ Classes ]     [ Functions ]     [ Variables ]     [ Constants ]     [ Statistics ]    

title

Body

[close]

/mp-includes/Swiftmailer/classes/Swift/Mime/ -> Grammar.php (summary)

(no description)

File Size: 176 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Swift_Mime_Grammar:: (7 methods):
  __construct()
  __wakeup()
  init()
  getDefinition()
  getGrammarDefinitions()
  getSpecials()
  escapeSpecials()


Class: Swift_Mime_Grammar  - X-Ref

Defines the grammar to use for validation, implements the RFC 2822 (and friends) ABNF grammar definitions.

__construct()   X-Ref
Initialize some RFC 2822 (and friends) ABNF grammar definitions.


__wakeup()   X-Ref
No description

init()   X-Ref
No description

getDefinition($name)   X-Ref
Get the grammar defined for $name token.

param: string $name exactly as written in the RFC
return: string

getGrammarDefinitions()   X-Ref
Returns the tokens defined in RFC 2822 (and some related RFCs).

return: array

getSpecials()   X-Ref
Returns the current special characters used in the syntax which need to be escaped.

return: array

escapeSpecials($token, $include = array()   X-Ref
Escape special characters in a string (convert to quoted-pairs).

param: string   $token
param: string[] $include additional chars to escape
param: string[] $exclude chars from escaping
return: string



Generated: Thu Apr 28 18:38:52 2016 Cross-referenced by PHPXref 0.7.1