XOOPS RMCommon Utilities
2.1.8.91RC
|
Public Member Functions | |
__construct ($name) | |
getFieldBody () | |
getFieldBodyModel () | |
getFieldType () | |
getTimestamp () | |
setFieldBodyModel ($model) | |
setTimestamp ($timestamp) | |
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 | |
$_timestamp | |
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 DateHeader.php.
Swift_Mime_Headers_DateHeader::__construct | ( | $name | ) |
Creates a new DateHeader with $name and $timestamp. Example: <?php $header = new Swift_Mime_Headers_DateHeader('Date', time()); ?>
string | $name | of Header |
Definition at line 40 of file DateHeader.php.
References Swift_Mime_Headers_AbstractHeader\setFieldName().
Swift_Mime_Headers_DateHeader::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 106 of file DateHeader.php.
References Swift_Mime_Headers_AbstractHeader\getCachedValue(), and Swift_Mime_Headers_AbstractHeader\setCachedValue().
Swift_Mime_Headers_DateHeader::getFieldBodyModel | ( | ) |
Get the model for the field body. This method returns a UNIX timestamp.
Implements Swift_Mime_Header.
Definition at line 71 of file DateHeader.php.
References getTimestamp().
Swift_Mime_Headers_DateHeader::getFieldType | ( | ) |
Get the type of Header that this instance represents.
Implements Swift_Mime_Header.
Definition at line 51 of file DateHeader.php.
Swift_Mime_Headers_DateHeader::getTimestamp | ( | ) |
Get the UNIX timestamp of the Date in this Header.
Definition at line 80 of file DateHeader.php.
References $_timestamp.
Referenced by getFieldBodyModel().
Swift_Mime_Headers_DateHeader::setFieldBodyModel | ( | $model | ) |
Set the model for the field body. This method takes a UNIX timestamp.
int | $model |
Implements Swift_Mime_Header.
Definition at line 61 of file DateHeader.php.
References setTimestamp().
Swift_Mime_Headers_DateHeader::setTimestamp | ( | $timestamp | ) |
Set the UNIX timestamp of the Date in this Header.
int | $timestamp |
Definition at line 89 of file DateHeader.php.
References Swift_Mime_Headers_AbstractHeader\clearCachedValueIf().
Referenced by setFieldBodyModel().
|
private |
Definition at line 28 of file DateHeader.php.
Referenced by getTimestamp().