Zend Framework
1.12
|
Public Member Functions | |
__get ($var) | |
Getter for has-properties. | |
getCapabilities () | |
Get a full list of features supported by the specific mail lib and the server. | |
countMessages () | |
Count messages messages in current box/folder. | |
getSize ($id=0) | |
Get a list of messages with number and size. | |
getMessage ($id) | |
Get a message with headers and body. | |
getRawHeader ($id, $part=null, $topLines=0) | |
Get raw header of message or part. | |
getRawContent ($id, $part=null) | |
Get raw content of message or part. | |
__construct ($params) | |
Create instance with parameters. | |
__destruct () | |
Destructor calls close() and therefore closes the resource. | |
close () | |
Close resource for mail lib. | |
noop () | |
Keep the resource alive. | |
removeMessage ($id) | |
delete a message from current box/folder | |
getUniqueId ($id=null) | |
get unique id for one or all messages | |
getNumberByUniqueId ($id) | |
get a message number from a unique id | |
count () | |
Countable::count() | |
offsetExists ($id) | |
ArrayAccess::offsetExists() | |
offsetGet ($id) | |
ArrayAccess::offsetGet() | |
offsetSet ($id, $value) | |
ArrayAccess::offsetSet() | |
offsetUnset ($id) | |
ArrayAccess::offsetUnset() | |
rewind () | |
Iterator::rewind() | |
current () | |
Iterator::current() | |
key () | |
Iterator::key() | |
next () | |
Iterator::next() | |
valid () | |
Iterator::valid() | |
seek ($pos) | |
SeekableIterator::seek() | |
Protected Attributes | |
$_has | |
$_iterationPos = 0 | |
$_iterationMax = null | |
$_messageClass = 'Zend_Mail_Message' | |
|
abstract |
Create instance with parameters.
array | $params | mail reader specific parameters |
Zend_Mail_Storage_Exception |
__destruct | ( | ) |
Destructor calls close() and therefore closes the resource.
__get | ( | $var | ) |
Getter for has-properties.
The standard has properties are: hasFolder, hasUniqueid, hasDelete, hasCreate, hasTop
The valid values for the has-properties are:
string | $var | property name |
Zend_Mail_Storage_Exception |
|
abstract |
Close resource for mail lib.
If you need to control, when the resource is closed. Otherwise the destructor would call this.
count | ( | ) |
Countable::count()
|
abstract |
Count messages messages in current box/folder.
Zend_Mail_Storage_Exception |
current | ( | ) |
Iterator::current()
getCapabilities | ( | ) |
Get a full list of features supported by the specific mail lib and the server.
|
abstract |
|
abstract |
get a message number from a unique id
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 | $id | unique id |
Zend_Mail_Storage_Exception |
|
abstract |
Get raw content of message or part.
int | $id | number of message |
null | array | string | $part | path to part or null for messsage content |
|
abstract |
Get raw header of message or part.
int | $id | number of message |
null | array | string | $part | path to part or null for messsage header |
int | $topLines | include this many lines with header (after an empty line) |
|
abstract |
Get a list of messages with number and size.
int | $id | number of message |
|
abstract |
get unique id for one or all messages
if storage does not support unique ids it's the same as the message number
int | null | $id | message number |
Zend_Mail_Storage_Exception |
key | ( | ) |
Iterator::key()
next | ( | ) |
Iterator::next()
|
abstract |
Keep the resource alive.
offsetExists | ( | $id | ) |
ArrayAccess::offsetExists()
int | $id |
offsetGet | ( | $id | ) |
offsetSet | ( | $id, | |
$value | |||
) |
ArrayAccess::offsetSet()
id | $id | |
mixed | $value |
Zend_Mail_Storage_Exception |
offsetUnset | ( | $id | ) |
ArrayAccess::offsetUnset()
int | $id |
|
abstract |
delete a message from current box/folder
rewind | ( | ) |
Iterator::rewind()
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 | ( | $pos | ) |
SeekableIterator::seek()
int | $pos |
OutOfBoundsException |
valid | ( | ) |
Iterator::valid()
|
protected |
|
protected |
|
protected |
|
protected |