XOOPS RMCommon Utilities
2.1.8.91RC
|
Public Member Functions | |
__construct ($name) | |
getAddress () | |
getFieldBody () | |
getFieldBodyModel () | |
getFieldType () | |
setAddress ($address) | |
setFieldBodyModel ($model) | |
Public Member Functions inherited from Swift_Mime_Headers_AbstractHeader | |
__toString () | |
getCharset () | |
getEncoder () | |
getFieldName () | |
getLanguage () | |
getMaxLineLength () | |
setCharset ($charset) | |
setEncoder (Swift_Mime_HeaderEncoder $encoder) | |
setLanguage ($lang) | |
setMaxLineLength ($lineLength) | |
toString () | |
Private Attributes | |
$_address | |
Additional Inherited Members | |
Public Attributes inherited from Swift_Mime_Header | |
const | TYPE_DATE = 16 |
const | TYPE_ID = 32 |
const | TYPE_MAILBOX = 8 |
const | TYPE_PARAMETERIZED = 6 |
const | TYPE_PATH = 64 |
const | TYPE_TEXT = 2 |
Protected Member Functions inherited from Swift_Mime_Headers_AbstractHeader | |
clearCachedValueIf ($condition) | |
createPhrase (Swift_Mime_Header $header, $string, $charset, Swift_Mime_HeaderEncoder $encoder=null, $shorten=false) | |
encodeWords (Swift_Mime_Header $header, $input, $usedLength=-1) | |
escapeSpecials ($token, $include=array(), $exclude=array()) | |
generateTokenLines ($token) | |
getCachedValue () | |
getEncodableWordTokens ($string) | |
getGrammar ($name) | |
getTokenAsEncodedWord ($token, $firstLineOffset=0) | |
initializeGrammar () | |
setCachedValue ($value) | |
setFieldName ($name) | |
tokenNeedsEncoding ($token) | |
toTokens ($string=null) | |
Definition at line 20 of file PathHeader.php.
Swift_Mime_Headers_PathHeader::__construct | ( | $name | ) |
Creates a new PathHeader with the given $name.
string | $name |
Definition at line 34 of file PathHeader.php.
References Swift_Mime_Headers_AbstractHeader\initializeGrammar(), and Swift_Mime_Headers_AbstractHeader\setFieldName().
Swift_Mime_Headers_PathHeader::getAddress | ( | ) |
Get the address which is used in this Header (if any). Null is returned if no address is set.
Definition at line 102 of file PathHeader.php.
References $_address.
Referenced by getFieldBodyModel().
Swift_Mime_Headers_PathHeader::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 toString() for that).
Implements Swift_Mime_Header.
Definition at line 114 of file PathHeader.php.
References Swift_Mime_Headers_AbstractHeader\getCachedValue(), and Swift_Mime_Headers_AbstractHeader\setCachedValue().
Swift_Mime_Headers_PathHeader::getFieldBodyModel | ( | ) |
Get the model for the field body. This method returns a string email address.
Implements Swift_Mime_Header.
Definition at line 67 of file PathHeader.php.
References getAddress().
Swift_Mime_Headers_PathHeader::getFieldType | ( | ) |
Get the type of Header that this instance represents.
Implements Swift_Mime_Header.
Definition at line 46 of file PathHeader.php.
Swift_Mime_Headers_PathHeader::setAddress | ( | $address | ) |
Set the Address which should appear in this Header.
string | $address |
Swift_RfcComplianceException |
Definition at line 77 of file PathHeader.php.
References elseif(), Swift_Mime_Headers_AbstractHeader\getGrammar(), and Swift_Mime_Headers_AbstractHeader\setCachedValue().
Referenced by setFieldBodyModel().
Swift_Mime_Headers_PathHeader::setFieldBodyModel | ( | $model | ) |
Set the model for the field body. This method takes a string for an address.
string | $model |
Swift_RfcComplianceException |
Implements Swift_Mime_Header.
Definition at line 57 of file PathHeader.php.
References setAddress().
|
private |
Definition at line 28 of file PathHeader.php.
Referenced by getAddress().