Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
Class representing a MIME part.
$_content = ''
Details $_isStream = 'false'
Details $boundary = ''
Details $charset = ''
Details $description = ''
Details $disposition = ''
Details $encoding = 'Zend_Mime'
Details $filename = ''
Details $id = ''
Details $language = ''
Details $location = ''
Details $type = 'Zend_Mime'
Details__construct(
mixed $content
)
:
create a new Mime Part.
The (unencoded) content of the Part as passed as a string or stream
DetailsgetContent(
$EOL
=
Zend_Mime
)
:
StringGet the Content of the current Mime Part in the given encoding.
DetailsgetEncodedStream(
)
:
streamif this was created with a stream, return a filtered stream for reading the content. very useful for large file attachments.
DetailsgetHeaders(
$EOL
=
Zend_Mime
)
:
StringReturn the headers for this part as a string
DetailsgetHeadersArray(
$EOL
=
Zend_Mime
)
:
arrayCreate and return the array of headers for this MIME part
DetailsisStream(
)
:
boolcheck if this part can be read as a stream.
if true, getEncodedStream can be called, otherwise only getContent can be used to fetch the encoded content of the part
Details