XOOPS RMCommon Utilities  2.1.8.91RC
 All Classes Namespaces Files Functions Variables
Swift_Mime_Headers_UnstructuredHeader Class Reference
Inheritance diagram for Swift_Mime_Headers_UnstructuredHeader:
Inheritance graph

Public Member Functions

 __construct ($name, Swift_Mime_HeaderEncoder $encoder)
 
 getFieldBody ()
 
 getFieldBodyModel ()
 
 getFieldType ()
 
 getValue ()
 
 setFieldBodyModel ($model)
 
 setValue ($value)
 
- 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

 $_value
 

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)
 

Detailed Description

Definition at line 20 of file UnstructuredHeader.php.

Constructor & Destructor Documentation

Swift_Mime_Headers_UnstructuredHeader::__construct (   $name,
Swift_Mime_HeaderEncoder  $encoder 
)

Creates a new SimpleHeader with $name.

Parameters
string$name
Swift_Mime_HeaderEncoder$encoder

Definition at line 36 of file UnstructuredHeader.php.

References Swift_Mime_Headers_AbstractHeader\setEncoder(), and Swift_Mime_Headers_AbstractHeader\setFieldName().

Here is the call graph for this function:

Member Function Documentation

Swift_Mime_Headers_UnstructuredHeader::getFieldBody ( )
Swift_Mime_Headers_UnstructuredHeader::getFieldBodyModel ( )

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

Returns
string

Implements Swift_Mime_Header.

Definition at line 67 of file UnstructuredHeader.php.

References getValue().

Here is the call graph for this function:

Swift_Mime_Headers_UnstructuredHeader::getFieldType ( )

Get the type of Header that this instance represents.

Returns
int
See Also
TYPE_TEXT, TYPE_PARAMETERIZED, TYPE_MAILBOX
TYPE_DATE, TYPE_ID, TYPE_PATH

Implements Swift_Mime_Header.

Definition at line 47 of file UnstructuredHeader.php.

Swift_Mime_Headers_UnstructuredHeader::getValue ( )

Get the (unencoded) value of this header.

Returns
string

Definition at line 76 of file UnstructuredHeader.php.

References $_value.

Referenced by getFieldBodyModel().

Here is the caller graph for this function:

Swift_Mime_Headers_UnstructuredHeader::setFieldBodyModel (   $model)

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

Parameters
string$model

Implements Swift_Mime_Header.

Definition at line 57 of file UnstructuredHeader.php.

References setValue().

Here is the call graph for this function:

Swift_Mime_Headers_UnstructuredHeader::setValue (   $value)

Set the (unencoded) value of this header.

Parameters
string$value

Definition at line 85 of file UnstructuredHeader.php.

References Swift_Mime_Headers_AbstractHeader\clearCachedValueIf().

Referenced by setFieldBodyModel().

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

Swift_Mime_Headers_UnstructuredHeader::$_value
private

Definition at line 29 of file UnstructuredHeader.php.

Referenced by getValue().


The documentation for this class was generated from the following file: