Class IMP_Mailbox
This object is a clearinghouse for actions related to an IMP mailbox.
Category: Horde
Copyright: 2011-2014 Horde LLC
License: GPL
Author: Michael Slusarz slusarz@horde.org
Located at Mailbox.php
public static
mixed
|
|
public static
mixed
|
|
public static
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
|
|
public
boolean
|
#
filterOnDisplay( )
Filters this mailbox if it is the INBOX and the filter on display pref is active. |
public
|
|
public
|
|
public
|
|
public
|
|
public
boolean
|
|
public
|
#
setHideDeletedMsgs( boolean $value )
Sets the 'delhide' preference and clears necessary cached data. |
public
|
#
runSearchQuery( Horde_Imap_Client_Search_Query $query, integer $sortby = null, integer $sortdir = null )
Run a search query on this mailbox that is not stored in the current session. Allows custom queries with custom sorts to be used without affecting cached mailboxes. |
public
Horde_Url
|
|
public
array
|
|
public
boolean
|
|
public
|
|
public
|
|
public
|
|
public static
mixed
|
|
public static
mixed
|
|
public static
array
|
|
public static
array
|
|
public static
string
|
|
public static
string
|
string |
MBOX_DRAFTS
|
#
'drafts_folder'
|
string |
MBOX_SENT
|
#
'sent_mail_folder'
|
string |
MBOX_SPAM
|
#
'spam_folder'
|
string |
MBOX_TEMPLATES
|
#
'composetemplates_mbox'
|
string |
MBOX_TRASH
|
#
'trash_folder'
|
string |
MBOX_USERSPECIAL
|
#
'user_special'
|
string |
SPECIAL_COMPOSETEMPLATES
|
#
'composetemplates'
|
string |
SPECIAL_DRAFTS
|
#
'drafts'
|
string |
SPECIAL_SENT
|
#
'sent'
|
string |
SPECIAL_SPAM
|
#
'spam'
|
string |
SPECIAL_TRASH
|
#
'trash'
|
string |
SPECIAL_USER
|
#
'userspecial'
|
public
string
|
$display
Display version of mailbox. Special mailboxes are replaced with localized strings and namespace information is removed. |
public
string
|
$abbrev_label
Abbreviated version of $label - displays only the bare mailbox name (no parents). |
public
boolean
|
$access_creatembox
Can sub mailboxes be created? |
public
boolean
|
$access_deletembox
Can this mailbox be deleted? |
public
boolean
|
$access_deletembox_acl
Can this mailbox be deleted according to ACL rules? |
public
boolean
|
$access_deletemsgs
Can messages be deleted in this mailbox? |
public
boolean
|
$access_empty
Can this mailbox be emptied? |
public
boolean
|
$access_expunge
Can messages be expunged in this mailbox? |
public
boolean
|
$access_filters
Is filtering available? |
public
boolean
|
$access_flags
Are flags available? |
public
boolean
|
$access_search
Is searching available? |
public
boolean
|
$access_sort
Is sorting available? |
public
boolean
|
$access_sortthread
Is thread sort available? |
public
mixed
|
$acl
Either an ACL object for the mailbox, or null if no ACL found for the mailbox. |
public
string
|
$basename
The basename of the mailbox (UTF-8). |
public
string
|
$cacheid
Cache ID for the mailbox. |
public
string
|
$cacheid_date
Cache ID for the mailbox, with added data information. |
public
boolean
|
$children
Does the element have children? |
public
boolean
|
$container
Is this a container element? |
public
string
|
$display_html
$display that has been HTML encoded. |
public
boolean
|
$drafts
Is this a Drafts mailbox? |
public
boolean
|
$editquery
Can this search query be edited? |
public
boolean
|
$editvfolder
Can this virtual folder be edited? |
public
boolean
|
$exists
Does this mailbox exist on the IMAP server? |
public
string
|
$form_to
Converts this mailbox to a form representation. |
public
object
|
$icon
Icon information for the mailbox. Properties: - alt: (string) The alt text for the icon. - class: (string) The CSS class name. - icon: (Horde_Themes_Image) The icon graphic to use. - iconopen: (Horde_Themes_Image) The openicon to use. - user_icon: (boolean) Use a user defined icon? |
public
|
$imp_imap
The IMP_Imap object for this mailbox. |
public
string
|
$imap_mbox
The actual name of the underlying IMAP mailbox. |
public
Horde_Imap_Client_Mailbox
|
$imap_mbox_ob
Convert this object tp an Imap_Client mailbox object. |
public
boolean
|
$inbox
Is this the INBOX? |
public
boolean
|
$innocent_show
Show the innocent action in this mailbox? |
public
boolean
|
$invisible
Is this mailbox invisible? |
public
boolean
|
$is_imap
Is this an IMAP mailbox? |
public
boolean
|
$is_open
Is this level expanded? |
public
string
|
$label
The mailbox label. Essentially is $display that can be modified by user hook. |
public
integer
|
$level
The child level of this element. |
public
|
$list_ob
Returns the List object for the mailbox. |
public
string
|
$namespace
Is this a namespace element? |
public
|
$namespace_append
The mailbox with necessary namespace information appended. |
public
string
|
$namespace_delimiter
The delimiter for this namespace. |
public
Horde_Imap_Client_Data_Namespace
|
$namespace_info
Namespace info. |
public
boolean
|
$nonimap
Is this a non-IMAP element? |
public
|
$parent
The parent element. Returns null if no parent. (Base of tree is returned as a special element). |
public
string
|
$parent_imap
The IMAP parent name. |
public
|
$permflags
Return the list of permanent flags available to set in the mailbox. |
public
boolean
|
$polled
Show polled information? |
public
object
|
$poll_info
Poll information for the mailbox. Properties: - msgs: (integer) The number of total messages in the element, if polled. - recent: (integer) The number of new messages in the element, if polled. - unseen: (integer) The number of unseen messages in the element, if polled. |
public
string
|
$pref_from
Convert mailbox name from preference storage. |
public
string
|
$pref_to
Convert mailbox name to preference storage. |
public
boolean
|
$query
Is this a search query? |
public
boolean
|
$readonly
Is this mailbox read-only? |
public
boolean
|
$remote
Is this a remote element? |
public
|
$remote_account
Return the account object for this element (null if not a remote element). |
public
boolean
|
$remote_container
Is this mailbox a remote special element? |
public
boolean
|
$remote_mbox
Is this mailbox on a remote server? |
public
boolean
|
$search
Is this a search mailbox? |
public
string
|
$size
Human readable size of the mailbox. |
public
|
$sortob
Sort ob for use with this mailbox. |
public
boolean
|
$spam
Is this a Spam mailbox? |
public
boolean
|
$spam_show
Show the spam action in this mailbox? |
public
boolean
|
$special
Is this is a "special" element? |
public
boolean
|
$special_outgoing
Is this a "special" element dealing with outgoing messages? |
public
boolean
|
$specialvfolder
Is this a "special" virtual folder? |
public
boolean
|
$sub
Is this mailbox subscribed to? |
public
array
|
$subfolders
Returns the list of subfolders as mailbox objects (including the current mailbox). |
public
array
|
$subfolders_only
Returns the list of subfolders as mailbox objects (NOT including the current mailbox). |
public
boolean
|
$systemquery
Is this a system (built-in) search query? |
public
boolean
|
$templates
Is this a Templates mailbox? |
public
boolean
|
$trash
Is this a Trash mailbox? |
public
|
$tree_elt
The tree element (null if it doesn't exist in the tree). |
public
string
|
$uidvalid
Returns the UIDVALIDITY string. Throws an IMP_Exception on error. |
public
string
|
$utf7imap
The UTF7-IMAP representation of this object. |
public
string
|
$value
The value of this element (IMAP mailbox name; UTF-8). |
public
boolean
|
$vfolder
Is this a virtual folder? |
public
boolean
|
$vfolder_container
Is this the virtual folder container? |
public
boolean
|
$vinbox
Is this the virtual inbox? |
public
boolean
|
$vtrash
Is this the virtual trash? |