Methods

All methods in the Solar_Mail_Message_Part class.

Public

__construct()

Constructor.

__destruct()

Default destructor; does nothing other than provide a safe fallback for calls to parent::__destruct().

dump()

Convenience method for getting a dump the whole object, or one of its properties, or an external variable.

fetch()

Returns the headers, a newline, and the content, all as a single block.

fetchContent()

Returns the body content of this part with the proper encoding.

fetchHeaders()

Returns all the headers as a string.

getBoundary()

Returns the Content-Type boundary for this part.

getCharset()

Returns the Content-Type character set for this part.

getContent()

Returns the body content for this part.

getCrlf()

Returns the CRLF sequence for this part.

getDisposition()

Returns the Content-Disposition for this part.

getEncoding()

Returns the Content-Transfer-Encoding for this part.

getFilename()

Returns the Content-Disposition filename for this part.

getType()

Returns the Content-Type for this part.

locale()

Looks up class-specific locale strings based on a key.

setBoundary()

Sets the Content-Type boundary for this part.

setCharset()

Sets the Content-Type character set for this part.

setContent()

Sets the body content for this part.

setCrlf()

Sets the CRLF sequence for this part.

setDisposition()

Sets the Content-Disposition for this part.

setEncoding()

Sets the Content-Transfer-Encoding for this part.

setFilename()

Sets the Content-Disposition filename for this part.

setHeader()

Sets (or resets) one header in the part.

setType()

Sets the Content-Type for this part.

Protected

_buildConfig()

Builds and returns the default config for a class, including all configs inherited from its parents.

_exception()

Convenience method for returning exceptions with localized text.

_postConfig()

A hook that activates after _buildConfig() in the constructor.

_postConstruct()

A hook that activates at the end of the constructor.

_preConfig()

A hook that activates before _buildConfig() in the constructor.

Private

None.



Local