Class IMP_Imap_Tree
The IMP_Imap_Tree class provides a tree view of the mailboxes in an IMAP/POP3 repository. It provides access functions to iterate through this tree and query information about individual mailboxes. In IMP, folders = IMAP mailboxes so the two terms are used interchangably.
Copyright 2000-2012 Horde LLC (http://www.horde.org/)
See the enclosed file COPYING for license information (GPL). If you did not receive this file, see http://www.horde.org/licenses/gpl.
- IMP_Imap_Tree implements ArrayAccess, Countable, Iterator, Serializable
Category: Horde
License: GPL
Author: Chuck Hagenbuch chuck@horde.org
Author: Jon Parise jon@horde.org
Author: Anil Madhavapeddy avsm@horde.org
Author: Michael Slusarz slusarz@horde.org
Located at Imap/Tree.php
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
boolean
|
|
public
|
|
public
|
|
public
boolean
|
|
public
integer
|
|
public
integer
|
#
isContainer( mixed $in )
Is this element a container only, not a mailbox (meaning you can not open it)? |
public
integer
|
|
public
integer
|
|
public
integer
|
|
public
array
|
|
public
|
|
public
|
|
public
|
|
public
integer
|
|
public
integer
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
array
|
|
public
|
|
public
integer
|
|
public
|
|
public
|
#
createMailboxName( string $parent, string $new )
Determines the mailbox name to create given a parent and the new name. |
public
Horde_Tree
|
#
createTree( string|Horde_Tree $name, array $opts = array() )
Creates a Horde_Tree representation of the current tree (respecting the current iterator filter). |
public
mixed
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
#
setIteratorFilter( integer $mask = 0, string $base = null )
Set the current iterator filter and reset the internal pointer. |
public
|
|
public
|
integer |
VERSION
|
#
1
|
integer |
ELT_NOSELECT
|
#
1
|
integer |
ELT_NAMESPACE
|
#
2
|
integer |
ELT_IS_OPEN
|
#
4
|
integer |
ELT_IS_SUBSCRIBED
|
#
8
|
integer |
ELT_IS_POLLED
|
#
32
|
integer |
ELT_NEED_SORT
|
#
64
|
integer |
ELT_VFOLDER
|
#
128
|
integer |
ELT_NONIMAP
|
#
256
|
integer |
ELT_INVISIBLE
|
#
512
|
integer |
OPEN_NONE
|
#
0
|
integer |
OPEN_ALL
|
#
1
|
integer |
OPEN_USER
|
#
2
|
integer |
FLIST_NOCONTAINER
|
#
1
|
integer |
FLIST_UNSUB
|
#
2
|
integer |
FLIST_VFOLDER
|
#
4
|
integer |
FLIST_NOCHILDREN
|
#
8
|
integer |
FLIST_EXPANDED
|
#
16
|
integer |
FLIST_ANCESTORS
|
#
32
|
integer |
FLIST_SAMELEVEL
|
#
64
|
integer |
FLIST_NOBASE
|
#
128
|
integer |
FLIST_ASIS
|
#
256
|
string |
BASE_ELT
|
#
"base\0"
|
string |
VFOLDER_KEY
|
#
"vfolder\0"
|
string |
SHARED_KEY
|
#
"shared\0"
|
string |
OTHER_KEY
|
#
"other\0"
|
public
boolean
|
$changed
Tree changed flag. Set when something in the tree has been altered. |
#
false
|
public
array
|
$unseen
Unseen count. |
#
0
|