category | Zend |
---|---|
package | Zend_Mail |
subpackage | Storage |
copyright | Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license | New BSD License |
inherited_from | \Zend_Mail_Storage_Abstract |
__construct(array $params)
inherited_from | \Zend_Mail_Storage_Abstract::__construct() |
---|
array
mail reader specific parameters
\Zend_Mail_Storage_Exception |
---|
__construct(array $params)
array
mail reader specific parameters
\Zend_Mail_Storage_Exception |
---|
__destruct()
__get(string $var) : boolean
The valid values for the has-properties are:
string
property name
\Zend_Mail_Storage_Exception |
---|
boolean
supported or notclose() : void
inherited_from | \Zend_Mail_Storage_Abstract::close() |
---|
close() : null
null
count() : integer
integer
countMessages($flags = null
) : integer
inherited_from | \Zend_Mail_Storage_Abstract::countMessages() |
---|
\Zend_Mail_Storage_Exception |
---|
integer
number of messagescountMessages() : integer
\Zend_Mail_Storage_Exception |
---|
integer
number of messagescurrent() : \Zend_Mail_Message
\Zend_Mail_Message
current messagegetCapabilities() : array
array
list of features as array(featurename => true|false[|null])getMessage(integer $id) : \Zend_Mail_Message_File
inherited_from | \Zend_Mail_Storage_Abstract::getMessage() |
---|
integer
number of message
\Zend_Mail_Storage_Exception |
---|
\Zend_Mail_Message_File
getMessage(integer $id) : \Zend_Mail_Message
integer
number of message
\Zend_Mail_Message
getNumberByUniqueId(string $id) : integer
I.e. if you have a webmailer that supports deleting messages you should use unique ids as parameter and use this method to translate it to message number right before calling removeMessage()
inherited_from | \Zend_Mail_Storage_Abstract::getNumberByUniqueId() |
---|
string
unique id
\Zend_Mail_Storage_Exception |
---|
integer
message numbergetNumberByUniqueId(string $id) : integer
I.e. if you have a webmailer that supports deleting messages you should use unique ids as parameter and use this method to translate it to message number right before calling removeMessage()
string
unique id
\Zend_Mail_Storage_Exception |
---|
integer
message numbergetRawContent(integer $id, null|array|string $part = null
)
inherited_from | \Zend_Mail_Storage_Abstract::getRawContent() |
---|
getRawContent(integer $id, null|array|string $part = null
) : string
integer
number of message
null
array
string
path to part or null for messsage content
string
raw contentgetRawHeader(integer $id, null|array|string $part= null
, integer $topLines= 0
)
inherited_from | \Zend_Mail_Storage_Abstract::getRawHeader() |
---|
getRawHeader(integer $id, null|array|string $part= null
, integer $topLines= 0
) : string
integer
number of message
null
array
string
path to part or null for messsage header
integer
include this many lines with header (after an empty line)
string
raw headergetSize(integer|null $id = null
) : integer | array
inherited_from | \Zend_Mail_Storage_Abstract::getSize() |
---|
integer
null
number of message or null for all messages
\Zend_Mail_Storage_Exception |
---|
integer
array
size of given message of list with all messages as array(num => size)getSize(integer $id = 0
) : integer | array
integer
number of message
integer
array
size of given message of list with all messages as array(num => size)getUniqueId(integer|null $id = null
) : array | string
if storage does not support unique ids it's the same as the message number
inherited_from | \Zend_Mail_Storage_Abstract::getUniqueId() |
---|
integer
null
message number
\Zend_Mail_Storage_Exception |
---|
array
string
message number for given message or all messages as arraygetUniqueId(integer|null $id = null
) : array | string
if storage does not support unique ids it's the same as the message number
integer
null
message number
\Zend_Mail_Storage_Exception |
---|
array
string
message number for given message or all messages as arraykey() : integer
integer
id of current positionnext() : void
noop() : void
inherited_from | \Zend_Mail_Storage_Abstract::noop() |
---|
noop() : null
null
offsetExists(integer $id) : boolean
integer
boolean
offsetGet(integer $id) : \Zend_Mail_Message
integer
\Zend_Mail_Message
message objectoffsetSet(\id $id, mixed $value) : void
\id
mixed
\Zend_Mail_Storage_Exception |
---|
offsetUnset(integer $id) : boolean
integer
boolean
successremoveMessage($id) : null
inherited_from | \Zend_Mail_Storage_Abstract::removeMessage() |
---|
\Zend_Mail_Storage_Exception |
---|
null
removeMessage($id) : null
null
rewind() : void
Rewind always gets the new count from the storage. Thus if you use the interfaces and your scripts take long you should use reset() from time to time.
seek(integer $pos) : void
integer
\OutOfBoundsException |
---|
valid() : boolean
boolean
_getFileData(integer $id, string|null $field = null
) : string | array
integer
message number
string
null
wanted field
\Zend_Mail_Storage_Exception |
---|
string
array
wanted field or all fields as array_getMaildirFiles(resource $dh, string $dirname, array $default_flags = array()
) : null
resource
dir handle used for search
string
dirname of dir in $dh
array
default flags for given dir
null
_isMaildir(string $dirname) : boolean
string
name of dir
boolean
dir is valid maildir_openMaildir(string $dirname) : null
string
name of maildir
\Zend_Mail_Storage_Exception |
---|
null
$_files : array
array()
$_has : array
array('uniqueid' => true, 'delete' => false, 'create' => false, 'top' => false, 'fetchPart' => true, 'flags' => false)
$_iterationMax : null | integer
null
$_iterationPos : integer
0
$_knownFlags : array
array('D' => \Zend_Mail_Storage::FLAG_DRAFT, 'F' => \Zend_Mail_Storage::FLAG_FLAGGED, 'P' => \Zend_Mail_Storage::FLAG_PASSED, 'R' => \Zend_Mail_Storage::FLAG_ANSWERED, 'S' => \Zend_Mail_Storage::FLAG_SEEN, 'T' => \Zend_Mail_Storage::FLAG_DELETED)
This list has to be in alphabetical order for setFlags()