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_Headers_PathHeader

A Path Header in Swift Mailer, such a Return-Path.

Swift_Mime_Headers_AbstractHeader implements Swift_Mime_Header
Extended by Swift_Mime_Headers_PathHeader
Package: Swift\Mime
Author: Chris Corbyn
Located at vendors/swiftmailer/lib/classes/Swift/Mime/Headers/PathHeader.php

Methods summary

public
# __construct( string $name, Swift_Mime_Grammar $grammar )

Creates a new PathHeader with the given $name.

Creates a new PathHeader with the given $name.

Parameters

$name
string
$name
$grammar
Swift_Mime_Grammar
$grammar

Overrides

Swift_Mime_Headers_AbstractHeader::__construct
public integer
# getFieldType( )

Get the type of Header that this instance represents.

Get the type of Header that this instance represents.

Returns

integer

See

Swift_Mime_Header::TYPE_TEXT, Swift_Mime_Header::TYPE_PARAMETERIZED, Swift_Mime_Header::TYPE_MAILBOX
Swift_Mime_Header::TYPE_DATE, Swift_Mime_Header::TYPE_ID, Swift_Mime_Header::TYPE_PATH
public
# setFieldBodyModel( string $model )

Set the model for the field body. This method takes a string for an address.

Set the model for the field body. This method takes a string for an address.

Parameters

$model
string
$model

Throws

Swift_RfcComplianceException
public mixed
# getFieldBodyModel( )

Get the model for the field body. This method returns a string email address.

Get the model for the field body. This method returns a string email address.

Returns

mixed
public
# setAddress( string $address )

Set the Address which should appear in this Header.

Set the Address which should appear in this Header.

Parameters

$address
string
$address

Throws

Swift_RfcComplianceException
public string
# getAddress( )

Get the address which is used in this Header (if any). Null is returned if no address is set.

Get the address which is used in this Header (if any). Null is returned if no address is set.

Returns

string
public string
# getFieldBody( )

Get the string value of the body in this Header. This is not necessarily RFC 2822 compliant since folding white space will not be added at this stage (see Swift_Mime_Headers_AbstractHeader::toString() for that).

Get the string value of the body in this Header. This is not necessarily RFC 2822 compliant since folding white space will not be added at this stage (see Swift_Mime_Headers_AbstractHeader::toString() for that).

Returns

string

See

Swift_Mime_Headers_AbstractHeader::toString()
private
# _assertValidAddress( string $address )

Throws an Exception if the address passed does not comply with RFC 2822.

Throws an Exception if the address passed does not comply with RFC 2822.

Parameters

$address
string
$address

Throws

Swift_RfcComplianceException
If invalid.

Methods inherited from Swift_Mime_Headers_AbstractHeader

__toString(), clearCachedValueIf(), createPhrase(), encodeWords(), generateTokenLines(), getCachedValue(), getCharset(), getEncodableWordTokens(), getEncoder(), getFieldName(), getGrammar(), getLanguage(), getMaxLineLength(), getTokenAsEncodedWord(), setCachedValue(), setCharset(), setEncoder(), setFieldName(), setGrammar(), setLanguage(), setMaxLineLength(), toString(), toTokens(), tokenNeedsEncoding()

Magic methods summary

Constants summary

Constants inherited from Swift_Mime_Header

TYPE_DATE, TYPE_ID, TYPE_MAILBOX, TYPE_PARAMETERIZED, TYPE_PATH, TYPE_TEXT

Properties summary

private string $_address
#

The address in this Header (if specified).

The address in this Header (if specified).

Blesta API documentation generated by ApiGen 2.8.0