Blesta
  • Package
  • Class
  • Tree
  • Deprecated

Packages

  • blesta
    • app
      • components
        • events
          • default
      • controllers
      • models
    • components
      • auth
      • delivery
        • interfax
        • postal
          • methods
      • download
      • email
      • exchange
        • rates
          • foxrate
          • google
            • finance
          • yahoo
            • finance
      • gateway
        • payments
      • gateways
      • invoice
        • delivery
        • templates
      • json
      • modules
      • net
        • http
        • net
          • amazon
            • s3
          • geo
            • ip
      • plugins
      • recaptcha
      • security
      • session
        • cart
      • settingscollection
      • upgrades
      • upload
      • vcard
    • helpers
      • currency
        • format
      • data
        • structure
          • array
          • string
      • text
        • parser
  • com
    • tecnick
      • tcpdf
        • blesta
          • components
            • invoice
              • templates
                • quickbooks
                  • invoice
                • templates
                  • default
  • Crypt
    • AES
    • DES
    • Hash
    • Random
    • RC4
    • Rijndael
    • RSA
    • TerraDES
  • File
    • ANSI
    • ASN1
    • X509
  • Math
    • BigInteger
  • minPHP
    • components
      • input
      • record
    • helpers
      • color
      • data
        • structure
      • date
      • html
      • xml
    • lib
  • Net
    • SFTP
    • SSH1
    • SSH2
  • None
  • PHP
  • PHPMailer
  • Services
    • JSON
  • Swift
    • ByteStream
    • CharacterStream
    • Encoder
    • Events
    • KeyCache
    • Mailer
    • Mime
    • Plugins
    • Transport

Classes

  • Swift_Attachment
  • Swift_EmbeddedFile
  • Swift_Image
  • Swift_Message
  • Swift_Mime_Attachment
  • Swift_Mime_ContentEncoder_Base64ContentEncoder
  • Swift_Mime_ContentEncoder_NativeQpContentEncoder
  • Swift_Mime_ContentEncoder_PlainContentEncoder
  • Swift_Mime_ContentEncoder_QpContentEncoder
  • Swift_Mime_EmbeddedFile
  • Swift_Mime_Grammar
  • Swift_Mime_HeaderEncoder_Base64HeaderEncoder
  • Swift_Mime_HeaderEncoder_QpHeaderEncoder
  • Swift_Mime_Headers_AbstractHeader
  • Swift_Mime_Headers_DateHeader
  • Swift_Mime_Headers_IdentificationHeader
  • Swift_Mime_Headers_MailboxHeader
  • Swift_Mime_Headers_ParameterizedHeader
  • Swift_Mime_Headers_PathHeader
  • Swift_Mime_Headers_UnstructuredHeader
  • Swift_Mime_MimePart
  • Swift_Mime_SimpleHeaderFactory
  • Swift_Mime_SimpleHeaderSet
  • Swift_Mime_SimpleMessage
  • Swift_Mime_SimpleMimeEntity
  • Swift_MimePart

Interfaces

  • Swift_Mime_CharsetObserver
  • Swift_Mime_ContentEncoder
  • Swift_Mime_EncodingObserver
  • Swift_Mime_Header
  • Swift_Mime_HeaderEncoder
  • Swift_Mime_HeaderFactory
  • Swift_Mime_HeaderSet
  • Swift_Mime_Message
  • Swift_Mime_MimeEntity
  • Swift_Mime_ParameterizedHeader

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 vendors/swiftmailer/lib/classes/Swift/Mime/Grammar.php

Methods summary

public
# __construct( )

Initialize some RFC 2822 (and friends) ABNF grammar definitions.

Initialize some RFC 2822 (and friends) ABNF grammar definitions.

public
# __wakeup( )
protected
# init( )
public string
# getDefinition( string $name )

Get the grammar defined for $name token.

Get the grammar defined for $name token.

Parameters

$name
string
$name execatly as written in the RFC

Returns

string
public array
# getGrammarDefinitions( )

Returns the tokens defined in RFC 2822 (and some related RFCs).

Returns the tokens defined in RFC 2822 (and some related RFCs).

Returns

array
public array
# getSpecials( )

Returns the current special characters used in the syntax which need to be escaped.

Returns the current special characters used in the syntax which need to be escaped.

Returns

array
public string
# escapeSpecials( string $token, string[] $include = array(), string[] $exclude = array() )

Escape special characters in a string (convert to quoted-pairs).

Escape special characters in a string (convert to quoted-pairs).

Parameters

$token
string
$token
$include
string[]
$include additonal chars to escape
$exclude
string[]
$exclude chars from escaping

Returns

string

Magic methods summary

Properties summary

private static string[] $_specials
#

Special characters used in the syntax which need to be escaped.

Special characters used in the syntax which need to be escaped.

private static string[] $_grammar
#

Tokens defined in RFC 2822 (and some related RFCs).

Tokens defined in RFC 2822 (and some related RFCs).

Blesta API documentation generated by ApiGen 2.8.0