Create instance with parameters
Zend_Mail_Storage_Abstract
__construct
(array $params)
-
array
$params: mail reader specific parameters
Redefined in descendants as:
Destructor calls close() and therefore closes the resource.
void
__destruct
()
Close resource for mail lib. If you need to control, when the resource is closed. Otherwise the destructor would call this.
null
close
()
Redefined in descendants as:
Countable::count()
int
count
()
Implementation of:
- Countable::count
Count messages messages in current box/folder
int
countMessages
()
Redefined in descendants as:
Iterator::current()
Implementation of:
- SeekableIterator::current
Get a full list of features supported by the specific mail lib and the server
array
getCapabilities
()
Get a message with headers and body
-
$id
$id: int number of message
Redefined in descendants as:
Get raw content of message or part
string
getRawContent
(int $id, [null|array|string $part = null])
-
int
$id: number of message
-
null|array|string
$part: path to part or null for messsage content
Redefined in descendants as:
Get raw header of message or part
string
getRawHeader
(int $id, [null|array|string $part = null], int $topLines)
-
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)
Redefined in descendants as:
Get a list of messages with number and size
int|array
getSize
(int $id)
-
int
$id: number of message
Redefined in descendants as:
Iterator::key()
int
key
()
Implementation of:
- SeekableIterator::key
Iterator::next()
void
next
()
Implementation of:
- SeekableIterator::next
Keep the resource alive.
null
noop
()
Redefined in descendants as:
ArrayAccess::offsetExists()
boolean
offsetExists
(int $id)
Implementation of:
- ArrayAccess::offsetExists
ArrayAccess::offsetGet()
Implementation of:
- ArrayAccess::offsetGet
ArrayAccess::offsetSet()
void
offsetSet
(id $id, mixed $value)
Implementation of:
- ArrayAccess::offsetSet
ArrayAccess::offsetUnset()
boolean
offsetUnset
(int $id)
Implementation of:
- ArrayAccess::offsetUnset
delete a message from current box/folder
null
removeMessage
( $id)
Redefined in descendants as:
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.
void
rewind
()
Implementation of:
- SeekableIterator::rewind
SeekableIterator::seek()
void
seek
(int $pos)
Implementation of:
- SeekableIterator::seek
Iterator::valid()
boolean
valid
()
Implementation of:
- SeekableIterator::valid
Getter for has-properties. The standard has properties are: hasFolder, hasUniqueid, hasDelete, hasCreate, hasTop
The valid values for the has-properties are:
- true if a feature is supported
- false if a feature is not supported
- null is it's not yet known or it can't be know if a feature is supported
bool
__get
(string $var)
-
string
$var: property name
Redefined in descendants as: