$range_string $range_string : string Generates a range string consisting of all messages between begin and end of ID list. Type string
__construct() __construct(mixed $ids = null, boolean $sequence = false) Constructor. Parameters mixed $ids See self::add(). boolean $sequence Are $ids message sequence numbers?
add() add(mixed $ids) Add IDs to the current object. Parameters mixed $ids Either self::ALL, self::SEARCH_RES, self::LARGEST, Horde_Imap_Client_Ids object, array, or sequence string.
remove() remove(mixed $ids) Removed IDs from the current object. Parameters mixed $ids Either Horde_Imap_Client_Ids object, array, or sequence string.
isEmpty() isEmpty() : boolean Is this object empty (i.e. does not contain IDs)? Returns boolean — True if object is empty.
split() split(integer $length) : array Split the sequence string at an approximate length. Parameters integer $length Length to split. Returns array — A list containing individual sequence strings.
_resolveIds() _resolveIds(mixed $ids) : array Resolve the $ids input to add() and remove(). Parameters mixed $ids Either Horde_Imap_Client_Ids object, array, or sequence string. Returns array — An array of IDs.
_toSequenceString() _toSequenceString(boolean $sort = true) : string Create a POP3 message sequence string. Index Format: UID1[SPACE]UID2... Parameters boolean $sort Not used in this class. Returns string — The POP3 message sequence string.
_fromSequenceString() _fromSequenceString(string $str) : array Parse a POP3 message sequence string into a list of indices. Parameters string $str The POP3 message sequence string. Returns array — An array of UIDs.