XOOPS RMCommon Utilities
2.1.8.91RC
|
Public Member Functions | |
__construct ($name) | |
getFieldBody () | |
getFieldBodyModel () | |
getFieldType () | |
getId () | |
getIds () | |
setFieldBodyModel ($model) | |
setId ($id) | |
setIds (array $ids) | |
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 | |
$_ids = array() | |
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 IdentificationHeader.php.
Swift_Mime_Headers_IdentificationHeader::__construct | ( | $name | ) |
Creates a new IdentificationHeader with the given $name and $id.
string | $name |
Definition at line 36 of file IdentificationHeader.php.
References Swift_Mime_Headers_AbstractHeader\initializeGrammar(), and Swift_Mime_Headers_AbstractHeader\setFieldName().
Swift_Mime_Headers_IdentificationHeader::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).
Swift_RfcComplianceException |
Implements Swift_Mime_Header.
Definition at line 145 of file IdentificationHeader.php.
References $id, Swift_Mime_Headers_AbstractHeader\getCachedValue(), and Swift_Mime_Headers_AbstractHeader\setCachedValue().
Swift_Mime_Headers_IdentificationHeader::getFieldBodyModel | ( | ) |
Get the model for the field body. This method returns an array of IDs
Implements Swift_Mime_Header.
Definition at line 69 of file IdentificationHeader.php.
References getIds().
Swift_Mime_Headers_IdentificationHeader::getFieldType | ( | ) |
Get the type of Header that this instance represents.
Implements Swift_Mime_Header.
Definition at line 48 of file IdentificationHeader.php.
Swift_Mime_Headers_IdentificationHeader::getId | ( | ) |
Get the ID used in the value of this Header. If multiple IDs are set only the first is returned.
Definition at line 89 of file IdentificationHeader.php.
Swift_Mime_Headers_IdentificationHeader::getIds | ( | ) |
Get the list of IDs used in this Header.
Definition at line 132 of file IdentificationHeader.php.
References $_ids.
Referenced by getFieldBodyModel().
Swift_Mime_Headers_IdentificationHeader::setFieldBodyModel | ( | $model | ) |
Set the model for the field body. This method takes a string ID, or an array of IDs
mixed | $model |
Swift_RfcComplianceException |
Implements Swift_Mime_Header.
Definition at line 59 of file IdentificationHeader.php.
References setId().
Swift_Mime_Headers_IdentificationHeader::setId | ( | $id | ) |
Set the ID used in the value of this header.
string | $id |
Swift_RfcComplianceException |
Definition at line 79 of file IdentificationHeader.php.
Referenced by setFieldBodyModel().
Swift_Mime_Headers_IdentificationHeader::setIds | ( | array | $ids | ) |
Set a collection of IDs to use in the value of this Header.
string[] | $ids |
Swift_RfcComplianceException |
Definition at line 102 of file IdentificationHeader.php.
References $id, Swift_Mime_Headers_AbstractHeader\clearCachedValueIf(), and Swift_Mime_Headers_AbstractHeader\getGrammar().
Referenced by setId().
|
private |
Definition at line 30 of file IdentificationHeader.php.
Referenced by getIds().