Implements interfaces:
Located in /Mail/Storage/Abstract.php (line 30)
class capabilities with default values
maximum iteration position (= message count)
current iteration position
used message class, change it in an extened class to extend the returned message class
Create instance with parameters
Destructor calls close() and therefore closes the resource.
Close resource for mail lib. If you need to control, when the resource is closed. Otherwise the destructor would call this.
Countable::count()
Count messages messages in current box/folder
Iterator::current()
Get a full list of features supported by the specific mail lib and the server
Get a message with headers and body
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()
Get raw content of message or part
Get raw header of message or part
Get a list of messages with number and size
get unique id for one or all messages
if storage does not support unique ids it's the same as the message number
Iterator::key()
Iterator::next()
Keep the resource alive.
ArrayAccess::offsetExists()
ArrayAccess::offsetGet()
ArrayAccess::offsetSet()
ArrayAccess::offsetUnset()
delete a message from current box/folder
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.
SeekableIterator::seek()
Iterator::valid()
Getter for has-properties. The standard has properties are: hasFolder, hasUniqueid, hasDelete, hasCreate, hasTop
The valid values for the has-properties are:
Documentation generated on Sun, 27 May 2007 23:19:46 -0700 by phpDocumentor 1.3.2