category | Zend |
---|---|
package | Zend_Mail |
subpackage | Storage |
copyright | Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license | New BSD License |
__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() : null
null
count() : integer
integer
countMessages() : 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
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()
string
unique id
\Zend_Mail_Storage_Exception |
---|
integer
message numbergetRawContent(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
) : 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 $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
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() : 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
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
$_has : array
array('uniqueid' => true, 'delete' => false, 'create' => false, 'top' => false, 'fetchPart' => true, 'flags' => false)
$_iterationMax : null | integer
null
$_iterationPos : integer
0