constructor __construct [line 83]
destructor __destruct [line 798]
Empties it's own contents from the cache.
Tags:
method charsetChanged [line 418]
void charsetChanged(
string
$charset)
|
|
Receive notification that the charset of this entity, or a parent entity has changed.
Tags:
Overridden in child classes as:
- Swift_Mime_MimePart::charsetChanged()
- Receive notification that the charset has changed on this document, or a parent document.
Implementation of:
- Swift_Mime_CharsetObserver::charsetChanged()
- Notify this observer that the entity's charset has changed.
Parameters:
method encoderChanged [line 428]
Receive notification that the encoder of this entity or a parent entity has changed.
Tags:
Parameters:
method generateId [line 123]
Generate a new Content-ID or Message-ID for this MIME entity.
Tags:
method getBody [line 334]
method getBoundary [line 392]
Get the boundary used to separate children in this entity.
Tags:
method getChildren [line 244]
method getContentType [line 152]
method getDescription [line 201]
Get the description of this entity.
This value comes from the Content-Description header if set.
Tags:
method getEncoder [line 366]
Get the encoder used for the body of this entity.
Tags:
method getHeaders [line 133]
method getId [line 175]
Get the CID of this entity.
The CID will only be present in headers if a Content-ID header is present.
Tags:
Implementation of:
- Swift_Mime_MimeEntity::getId()
- Returns a unique ID for this entity.
method getMaxLineLength [line 224]
Get the maximum line length of the body of this entity.
Tags:
method getNestingLevel [line 143]
method getRandomId [line 646]
Returns a random Content-ID or Message-ID.
Tags:
method setBody [line 347]
method setBoundary [line 406]
void setBoundary(
string
$boundary)
|
|
Set the boundary used to separate children in this entity.
Tags:
Parameters:
method setChildren [line 254]
void setChildren(
$children, [int
$compoundLevel = null])
|
|
Set all children of this entity.
Tags:
Implementation of:
- Swift_Mime_MimeEntity::setChildren()
- Set all children nested inside this entity.
Parameters:
method setContentType [line 161]
void setContentType(
string
$type)
|
|
Set the Content-type of this entity.
Tags:
Parameters:
method setDescription [line 211]
void setDescription(
string
$description)
|
|
Set the description of this entity.
This method sets a value in the Content-ID header.
Tags:
Parameters:
method setEncoder [line 375]
Set the encoder used for the body of this entity.
Tags:
Parameters:
method setId [line 186]
Set the CID of this entity.
Tags:
Parameters:
method setMaxLineLength [line 234]
void setMaxLineLength(
int
$length)
|
|
Set the maximum line length of lines in this body.
Though not enforced by the library, lines should not exceed 1000 chars.
Tags:
Parameters:
method toByteStream [line 487]
method toString [line 437]
method _clearCache [line 637]
Empty the KeyCache for this entity.
Tags:
method _fixHeaders [line 610]
Re-evaluate what content type and encoding should be used on this entity.
Tags:
Overridden in child classes as:
- Swift_Mime_MimePart::_fixHeaders()
- Fix the content-type and encoding of this entity
method _getCache [line 629]
Get the KeyCache used in this entity.
Tags:
method _getHeaderFieldModel [line 556]
void _getHeaderFieldModel(
$field)
|
|
Get the model data (usually an array or a string) for $field.
Tags:
Parameters:
method _getHeaderParameter [line 583]
void _getHeaderParameter(
$field,
$parameter)
|
|
Get the parameter value of $parameter on $field header.
Tags:
Parameters:
method _getIdField [line 548]
method _setHeaderFieldModel [line 567]
void _setHeaderFieldModel(
$field,
$model)
|
|
Set the model data for $field.
Tags:
Parameters:
method _setHeaderParameter [line 594]
void _setHeaderParameter(
$field,
$parameter,
$value)
|
|
Set the parameter value of $parameter on $field header.
Tags:
Parameters:
method __toString [line 478]