Mail/Message/File.php

Show: PublicProtectedPrivateinherited
Table of Contents
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.
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Mail  
Version
$Id$  

\Zend_Mail_Message_File

Package: Zend_Mail
Implements
Parent(s)
\Zend_Mail_Part_File < \Zend_Mail_Part
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

>VPropertyprotectedarray $_flags = array()
flags for this message
Default valuearray()Details
Type
array

Methods

methodpublic__construct( $params) : void

Public constructor

In addition to the parameters of Zend_Mail_Part::__construct() this constructor supports: - flags array with flags for message, keys are ignored, use constants defined in Zend_Mail_Storage
Parameters
NameTypeDescription
$params
Throws
ExceptionDescription
\Zend_Mail_Exception
methodpublicgetFlags() : array

get all set flags

Returns
TypeDescription
arrayarray with flags, key and value are the same for easy lookup
methodpublicgetTopLines() : string

return toplines as found after headers

Returns
TypeDescription
stringtoplines
methodpublichasFlag(mixed $flag) : bool

check if flag is set

Parameters
NameTypeDescription
$flagmixed

a flag name, use constants defined in Zend_Mail_Storage

Returns
TypeDescription
booltrue if set, otherwise false
Documentation was generated by phpDocumentor 2.2.0 .