| [ Index ] |
PHP Cross Reference of Unnamed Project |
[Source view] [Print] [Project Stats]
Copyright 2011-2014 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
| Copyright: | 2011-2014 Horde LLC |
| License: | http://www.horde.org/licenses/lgpl21 LGPL 2.1 |
| File Size: | 486 lines (12 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
Horde_Imap_Client_Ids:: (20 methods):
__construct()
__get()
__toString()
add()
remove()
isEmpty()
reverse()
sort()
split()
_resolveIds()
_toSequenceString()
_fromSequenceString()
count()
current()
key()
next()
rewind()
valid()
serialize()
unserialize()
Class: Horde_Imap_Client_Ids - X-Ref
An object that provides a way to identify a list of IMAP indices.| __construct($ids = null, $sequence = false) X-Ref |
| Constructor. param: mixed $ids See self::add(). param: boolean $sequence Are $ids message sequence numbers? |
| __get($name) X-Ref |
| No description |
| __toString() X-Ref |
| No description |
| add($ids) X-Ref |
| Add IDs to the current object. param: mixed $ids Either self::ALL, self::SEARCH_RES, self::LARGEST, |
| remove($ids) X-Ref |
| Removed IDs from the current object. param: mixed $ids Either Horde_Imap_Client_Ids object, array, or |
| isEmpty() X-Ref |
| Is this object empty (i.e. does not contain IDs)? return: boolean True if object is empty. |
| reverse() X-Ref |
| Reverses the order of the IDs. |
| sort() X-Ref |
| Sorts the IDs numerically. |
| split($length) X-Ref |
| Split the sequence string at an approximate length. param: integer $length Length to split. return: array A list containing individual sequence strings. |
| _resolveIds($ids) X-Ref |
| Resolve the $ids input to add() and remove(). param: mixed $ids Either Horde_Imap_Client_Ids object, array, or return: array An array of IDs. |
| _toSequenceString($sort = true) X-Ref |
| Create an IMAP message sequence string from a list of indices. Index Format: range_start:range_end,uid,uid2,... param: boolean $sort Numerically sort the IDs before creating the return: string The IMAP message sequence string. |
| _fromSequenceString($str) X-Ref |
| Parse an IMAP message sequence string into a list of indices. param: string $str The IMAP message sequence string. return: array An array of indices. |
| count() X-Ref |
| No description |
| current() X-Ref |
| No description |
| key() X-Ref |
| No description |
| next() X-Ref |
| No description |
| rewind() X-Ref |
| No description |
| valid() X-Ref |
| No description |
| serialize() X-Ref |
| No description |
| unserialize($data) X-Ref |
| No description |
| Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |