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.
__get(
string $name
)
:
stringGetter for mail headers - name is matched in lowercase
This getter is short for Zend_Mail_Part::getHeader($name, 'string')
Details__toString(
)
:
stringmagic method to get content of part
DetailscountParts(
)
:
intCount parts of a multipart part
DetailsgetContent(
)
:
stringBody of part
If part is multipart the raw content of this part with all sub parts is returned
DetailsgetHeader(
string $name, string $format
=
null
)
:
string|arrayGet a header in specificed format
Internally headers that occur more than once are saved as array, all other as string. If $format is set to string implode is used to concat the values (with Zend_Mime::LINEEND as delim).
DetailsgetHeaderField(
string $name, string $wantedPart
=
0, string $firstName
=
0
)
:
string|arrayGet a specific field from a header like content type or all fields as array
If the header occurs more than once, only the value from the first header is returned.
Throws a Zend_Mail_Exception if the requested header does not exist. If the specific header field does not exist, returns null.
DetailsgetHeaders(
)
:
arrayGet all headers
The returned headers are as saved internally. All names are lowercased. The value is a string or an array if a header with the same name occurs more than once.
DetailsgetPart(
int $num
)
:
Zend_Mail_PartGet part of multipart message
DetailsgetSize(
)
:
intReturn size of part
DetailsisMultipart(
)
:
boolCheck if part is a multipart message
Details