IMP_Ftree_Element
in package
A tree element.
Tags
Table of Contents
Properties
- $account : IMP_Ftree_Account
- $base_elt : bool
- $child_list : array<string|int, mixed>
- $children : bool
- $container : bool
- $inbox : bool
- $level : int
- $mbox_ob : IMP_Mailbox
- $namespace : bool
- $namespace_info : Horde_Imap_Client_Data_Namespace
- $namespace_other : bool
- $namespace_shared : bool
- $needsort : bool
- $nochildren : bool
- $nonimap : bool
- $open : bool
- $parent : IMP_Ftree_Element
- $polled : bool
- $remote : bool
- $remote_auth : bool
- $remote_mbox : bool
- $subscribed : bool
- $vfolder : bool
- $_id : string
- The element ID.
- $_tree : IMP_Ftree
- IMP folder tree object.
Methods
- __construct() : mixed
- Constructor.
- __get() : mixed
- __set() : mixed
- __sleep() : mixed
- __toString() : string
Properties
$account read-only
public
IMP_Ftree_Account
$account
Account object for this element.
$base_elt read-only
public
bool
$base_elt
True if this is the base element.
$child_list read-only
public
array<string|int, mixed>
$child_list
The list of the element's children.
$children read-only
public
bool
$children
True if this element has children.
$container
public
bool
$container
True if this element is a container.
$inbox read-only
public
bool
$inbox
True if this is the INBOX.
$level read-only
public
int
$level
The tree level of the current element.
$mbox_ob read-only
public
IMP_Mailbox
$mbox_ob
The IMP_Mailbox object for this element.
$namespace read-only
public
bool
$namespace
True if this is a namespace container element.
$namespace_info read-only
public
Horde_Imap_Client_Data_Namespace
$namespace_info
Namespace info.
$namespace_other read-only
public
bool
$namespace_other
True if this is an 'Other' namespace.
$namespace_shared read-only
public
bool
$namespace_shared
True if this is a 'Shared' namespace.
$needsort
public
bool
$needsort
True if this level needs a sort.
$nochildren read-only
public
bool
$nochildren
True if this element doesn't allow children.
$nonimap read-only
public
bool
$nonimap
True if this is a non-IMAP element.
$open
public
bool
$open
True if this element is open (a/k/a expanded).
$parent read-only
public
IMP_Ftree_Element
$parent
The parent element (null if not found).
$polled
public
bool
$polled
True if this element is polled.
$remote read-only
public
bool
$remote
True if this is a remote container.
$remote_auth read-only
public
bool
$remote_auth
True if this is a remote account that has been authenticated.
$remote_mbox read-only
public
bool
$remote_mbox
True if this is a remote mailbox.
$subscribed
public
bool
$subscribed
True if the element is subscribed.
$vfolder read-only
public
bool
$vfolder
True if this element is a virtual folder.
$_id
The element ID.
protected
string
$_id
$_tree
IMP folder tree object.
protected
IMP_Ftree
$_tree
Methods
__construct()
Constructor.
public
__construct(string $id, IMP_Ftree $tree) : mixed
Parameters
- $id : string
-
Element ID.
- $tree : IMP_Ftree
-
The base tree object.
__get()
public
__get(mixed $name) : mixed
Parameters
- $name : mixed
__set()
public
__set(mixed $name, mixed $value) : mixed
Parameters
- $name : mixed
- $value : mixed
__sleep()
public
__sleep() : mixed
__toString()
public
__toString() : string
Return values
string —Element ID.