void
decode_mime_string
( $input, [ $fallback = null])
void
explode_header_string
( $separator, $str, [ $remove_comments = false])
-
$separator
-
$str
-
$remove_comments
Object constructor.
rcube_imap
__construct
()
Subscribe/unsubscribe a list of folders and update local cache
void
change_subscription
( $folders, $mode)
Check connection state, connect if not connected.
bool
check_connection
()
Redefinition of:
- rcube_storage::check_connection()
- Check connection state, connect if not connected.
Checks the PERMANENTFLAGS capability of the current folder and returns true if the given flag is supported by the IMAP server
boolean
check_permflag
(string $flag)
-
string
$flag: Permanentflag name
Redefinition of:
- rcube_storage::check_permflag()
- Checks the PERMANENTFLAGS capability of the current folder and returns true if the given flag is supported by the server.
Clears the cache.
void
clear_cache
([string $key = null], [boolean $prefix_mode = false])
-
string
$key: Cache key name or pattern
-
boolean
$prefix_mode: Enable it to clear all keys starting with prefix specified in $key
Redefinition of:
- rcube_storage::clear_cache()
- Clears the cache.
void
clear_mailbox
([ $folder = null])
Remove messagecount of a specific folder from cache
void
clear_messagecount
( $folder, [ $mode = null])
Clears the messages cache.
void
clear_message_cache
([string $folder = null], [array $uids = null])
-
string
$folder: Folder name
-
array
$uids: Optional message UIDs to remove from cache
Close IMAP connection.
Usually done on script shutdown
void
close
()
Redefinition of:
- rcube_storage::close()
- Close connection. Usually done on script shutdown
Connect to an IMAP server
boolean
connect
(string $host, string $user, string $pass, [integer $port = 143], [string $use_ssl = null])
-
string
$host: Host to connect
-
string
$user: Username for IMAP account
-
string
$pass: Password for IMAP account
-
integer
$port: Port to connect to
-
string
$use_ssl: SSL schema (either ssl or tls) or null if plain connection
Redefinition of:
- rcube_storage::connect()
- Connect to the server
Converts charset of search criteria string
string
convert_criteria
(string $str, string $charset, [string $dest_charset = 'US-ASCII'])
-
string
$str: Search string
-
string
$charset: Original charset
-
string
$dest_charset: Destination charset (default US-ASCII)
Copy a message from one folder to another
boolean
copy_message
(mixed $uids, string $to_mbox, [string $from_mbox = ''])
-
mixed
$uids: Message UIDs as array or comma-separated string, or '*'
-
string
$to_mbox: Target folder
-
string
$from_mbox: Source folder
Redefinition of:
- rcube_storage::copy_message()
- Copy message(s) from one mailbox to another.
Get message count for a specific folder
int
count
([string $folder = ''], [string $mode = 'ALL'], [boolean $force = false], [boolean $status = true])
-
string
$folder: Folder name
-
string
$mode: Mode for count [ALL|THREADS|UNSEEN|RECENT|EXISTS]
-
boolean
$force: Force reading from server and update cache
-
boolean
$status: Enables storing folder status info (max UID/count), required for folder_status()
Redefinition of:
- rcube_storage::count()
- Get messages count for a specific folder.
protected method for getting nr of messages
int
countmessages
(string $folder, [string $mode = 'ALL'], [boolean $force = false], [boolean $status = true])
-
string
$folder: Folder name
-
string
$mode: Mode for count [ALL|THREADS|UNSEEN|RECENT|EXISTS]
-
boolean
$force: Force reading from server and update cache
-
boolean
$status: Enables storing folder status info (max UID/count), required for folder_status()
Create a new folder on the server and register it in local cache
boolean
create_folder
(string $folder, [boolean $subscribe = false])
-
string
$folder: New folder name
-
boolean
$subscribe: True if the new folder should be subscribed
Redefinition of:
- rcube_storage::create_folder()
- Create a new folder on the server.
void
create_mailbox
( $folder, [ $subscribe = false])
Converts date string/object into IMAP date/time format
void
date_format
( $date)
This is our own debug handler for the IMAP connection
void
debug_handler
( &$imap, $message)
Deprecated methods (to be removed)
void
decode_address_list
( $input, [ $max = null], [ $decode = true], [ $fallback = null])
-
$input
-
$max
-
$decode
-
$fallback
void
decode_header
( $input, [ $fallback = null])
Removes any <identifier,rights> pair for the specified user from the ACL for the specified folder (DELETEACL)
boolean
delete_acl
(string $folder, string $user)
-
string
$folder: Folder name
-
string
$user: User name
Redefinition of:
- rcube_storage::delete_acl()
- Removes any <identifier,rights> pair for the specified user from the ACL for the specified folder (DELETEACL).
Remove folder from server
boolean
delete_folder
(string $folder)
-
string
$folder: Folder name
Redefinition of:
- rcube_storage::delete_folder()
- Remove a folder from the server.
void
delete_mailbox
( $folder)
Mark messages as deleted and expunge them
boolean
delete_message
(mixed $uids, [string $folder = ''])
-
mixed
$uids: Message UIDs as array or comma-separated string, or '*'
-
string
$folder: Source folder
Redefinition of:
- rcube_storage::delete_message()
- Mark message(s) as deleted and expunge.
Unsets IMAP metadata/annotations (SETMETADATA/SETANNOTATION)
boolean
delete_metadata
(string $folder, array $entries)
-
string
$folder: Folder name (empty for server metadata)
-
array
$entries: Entry names array
Redefinition of:
- rcube_storage::delete_metadata()
- Unsets metadata/annotations (SETMETADATA/SETANNOTATION)
void
expunge
([ $folder = ''], [ $clear_cache = true])
Send IMAP expunge command and clear cache
boolean
expunge_message
(mixed $uids, [string $folder = null], [boolean $clear_cache = true])
-
mixed
$uids: Message UIDs as array or comma-separated string, or '*'
-
string
$folder: Folder name
-
boolean
$clear_cache: False if cache should not be cleared
Redefinition of:
- rcube_storage::expunge_message()
- Expunge message(s) and clear the cache.
Fetches messages headers (by UID)
array
fetch_headers
(string $folder, array $msgs, [bool $sort = true], [bool $force = false])
-
string
$folder: Folder name
-
array
$msgs: Message UIDs
-
bool
$sort: Enables result sorting by $msgs
-
bool
$force: Disables cache use
Method for fetching threads data
rcube_imap_thread
fetch_threads
(string $folder, [bool $force = false])
-
string
$folder: Folder name
-
bool
$force: Use IMAP server, no cache
protected method for fetching threaded messages headers
array
fetch_thread_headers
(
string $folder,
rcube_result_thread $threads,
int $page, [
int $slice =
0])
-
string
$folder: Folder name
-
rcube_result_thread
$threads: Threads data object
-
int
$page: List page number
-
int
$slice: Number of threads to slice
Filter the given list of folders according to access rights
void
filter_rights
( $a_folders, $rights)
Gets folder attributes from LIST response, e.g. \Noselect, \Noinferiors
array
folder_attributes
(string $folder, [bool $force = false])
-
string
$folder: Folder name
-
bool
$force: Set to True if attributes should be refreshed
Redefinition of:
- rcube_storage::folder_attributes()
- Gets folder attributes (from LIST response, e.g. \Noselect, \Noinferiors).
Gets connection (and current folder) data: UIDVALIDITY, EXISTS, RECENT, PERMANENTFLAGS, UIDNEXT, UNSEEN
array
folder_data
(string $folder)
-
string
$folder: Folder name
Redefinition of:
- rcube_storage::folder_data()
- Gets connection (and current folder) data: UIDVALIDITY, EXISTS, RECENT, PERMANENTFLAGS, UIDNEXT, UNSEEN
Checks if folder exists and is subscribed
boolean
folder_exists
(string $folder, [boolean $subscription = false])
-
string
$folder: Folder name
-
boolean
$subscription: Enable subscription checking
Redefinition of:
- rcube_storage::folder_exists()
- Checks if folder exists and is subscribed
Returns extended information about the folder
array
folder_info
(string $folder)
-
string
$folder: Folder name
Redefinition of:
- rcube_storage::folder_info()
- Returns extended information about the folder.
Returns the namespace where the folder is in
string
folder_namespace
(string $folder)
-
string
$folder: Folder name
Redefinition of:
- rcube_storage::folder_namespace()
- Returns the namespace where the folder is in
Get folder size (size of all messages in a folder)
int
folder_size
(string $folder)
-
string
$folder: Folder name
Redefinition of:
- rcube_storage::folder_size()
- Get folder size (size of all messages in a folder)
Returns current status of a folder (compared to the last time use)
We compare the maximum UID to determine the number of new messages because the RECENT flag is not reliable.
int
folder_status
([string $folder = null], [ &$diff = array()], array $diff)
-
string
$folder: Folder name
-
array
$diff: Difference data
-
&$diff
Redefinition of:
- rcube_storage::folder_status()
- Returns current status of a folder (compared to the last time use)
Synchronizes messages cache.
void
folder_sync
(string $folder)
-
string
$folder: Folder name
Redefinition of:
- rcube_storage::folder_sync()
- Synchronizes messages cache.
Returns the access control list for folder (GETACL)
array
get_acl
(string $folder)
-
string
$folder: Folder name
Redefinition of:
- rcube_storage::get_acl()
- Returns the access control list for a folder (GETACL).
Getter for IMAP cache object
void
get_cache_engine
()
Returns the IMAP server's capability.
mixed
get_capability
(string $cap)
-
string
$cap: Capability name
Redefinition of:
- rcube_storage::get_capability()
- Returns the storage server's (IMAP) capability
Get message header names for rcube_imap_generic::fetchHeader(s)
string
get_fetch_headers
()
Gets folder statistic data
array
get_folder_stats
(string $folder)
-
string
$folder: Folder name
void
get_headers
( $uid, [ $folder = null], [ $force = false])
Returns the delimiter that is used by the IMAP server for folder separation
string
get_hierarchy_delimiter
()
Redefinition of:
- rcube_storage::get_hierarchy_delimiter()
- Returns the delimiter that is used by the server for folder hierarchy separation.
void
get_mailbox_size
( $folder)
Getter for messages cache object
void
get_mcache_engine
()
Fetch message headers and body structure from the IMAP server and build an object structure similar to the one generated by PEAR::Mail_mimeDecode
-
int
$uid: Message UID to fetch
-
string
$folder: Folder to read from
Redefinition of:
- rcube_storage::get_message()
- Fetch message headers and body structure from the server and build an object structure similar to the one generated by PEAR::Mail_mimeDecode
Return message headers object of a specific message
rcube_message_header
get_message_headers
(
$uid, [
string $folder =
null], [
bool $force =
false],
int $id)
-
int
$id: Message UID
-
string
$folder: Folder to read from
-
bool
$force: True to skip cache
-
$uid
Redefinition of:
- rcube_storage::get_message_headers()
- Return message headers object of a specific message
Fetch message body of a specific message from the server
string
get_message_part
(
int $uid, [
string $part =
1], [
rcube_message_part $o_part =
NULL], [
mixed $print =
NULL], [
resource $fp =
NULL], [
boolean $skip_charset_conv =
false], [
int $max_bytes =
0])
-
int
$uid: Message UID
-
string
$part: Part number
-
rcube_message_part
$o_part: Part object created by get_structure()
-
mixed
$print: True to print part, ressource to write part contents in
-
resource
$fp: File pointer to save the message part
-
boolean
$skip_charset_conv: Disables charset conversion
-
int
$max_bytes: Only read this number of bytes
Redefinition of:
- rcube_storage::get_message_part()
- Fetch message body of a specific message from the server
Returns IMAP metadata/annotations (GETMETADATA/GETANNOTATION)
array
get_metadata
(string $folder, array $entries, [array $options = array()])
-
string
$folder: Folder name (empty for server metadata)
-
array
$entries: Entries
-
array
$options: Command options (with MAXSIZE and DEPTH keys)
Redefinition of:
- rcube_storage::get_metadata()
- Returns folder metadata/annotations (GETMETADATA/GETANNOTATION).
Get namespace
array
get_namespace
([string $name = null])
-
string
$name: Namespace array index: personal, other, shared, prefix
Redefinition of:
- rcube_storage::get_namespace()
- Get namespace
Returns PERMANENTFLAGS of the specified folder
array
get_permflags
(string $folder)
-
string
$folder: Folder name
Get mailbox quota information added by Nuny
mixed
get_quota
()
Redefinition of:
- rcube_storage::get_quota()
- Get mailbox quota information.
Returns the whole message source as string (or saves to a file)
string
get_raw_body
(int $uid, [resource $fp = null])
-
int
$uid: Message UID
-
resource
$fp: File pointer to save the message
Redefinition of:
- rcube_storage::get_raw_body()
- Returns the whole message source as string (or saves to a file)
Find UID of the specified message sequence ID
int
id2uid
(int $id, [string $folder = null])
-
int
$id: Message (sequence) ID
-
string
$folder: Folder name
Return sorted list of message UIDs
-
string
$folder: Folder to get index from
-
string
$sort_field: Sort column
-
string
$sort_order: Sort order [ASC, DESC]
Redefinition of:
- rcube_storage::index()
- Return sorted list of message UIDs
Return sorted list of message UIDs ignoring current search settings.
Doesn't uses cache by default.
rcube_result_index
index_direct
(
string $folder, [
string $sort_field =
null], [
string $sort_order =
null], [
bool $skip_cache =
true])
-
string
$folder: Folder to get index from
-
string
$sort_field: Sort column
-
string
$sort_order: Sort order [ASC, DESC]
-
bool
$skip_cache: Disables cache usage
Get a list of all folders available on the server
array
list_folders
([string $root = ''], [string $name = '*'], [mixed $filter = null], [string $rights = null], [bool $skip_sort = false])
-
string
$root: IMAP root dir
-
string
$name: Optional name pattern
-
mixed
$filter: Optional filter
-
string
$rights: Optional ACL requirements
-
bool
$skip_sort: Enable to return unsorted list (for better performance)
Redefinition of:
- rcube_storage::list_folders()
- Get a list of all folders available on the server.
Method for direct folders listing (LIST)
array
list_folders_direct
([string $root = ''], [string $name = '*'])
-
string
$root: Optional root folder
-
string
$name: Optional name pattern
Public method for listing subscribed folders.
array
list_folders_subscribed
([string $root = ''], [string $name = '*'], [string $filter = null], [string $rights = null], [bool $skip_sort = false])
-
string
$root: Optional root folder
-
string
$name: Optional name pattern
-
string
$filter: Optional filter
-
string
$rights: Optional ACL requirements
-
bool
$skip_sort: Enable to return unsorted list (for better performance)
Redefinition of:
- rcube_storage::list_folders_subscribed()
- Get a list of subscribed folders.
Method for direct folders listing (LSUB)
array
list_folders_subscribed_direct
([string $root = ''], [string $name = '*'])
-
string
$root: Optional root folder
-
string
$name: Optional name pattern
void
list_headers
([ $folder = ''], [ $page = NULL], [ $sort_field = NULL], [ $sort_order = NULL], [ $slice = 0])
-
$folder
-
$page
-
$sort_field
-
$sort_order
-
$slice
void
list_mailboxes
([ $root = ''], [ $name = '*'], [ $filter = null], [ $rights = null], [ $skip_sort = false])
-
$root
-
$name
-
$filter
-
$rights
-
$skip_sort
Public method for listing headers
array
list_messages
([string $folder = ''], [int $page = NULL], [string $sort_field = NULL], [string $sort_order = NULL], [int $slice = 0])
-
string
$folder: Folder name
-
int
$page: Current page to list
-
string
$sort_field: Header field to sort by
-
string
$sort_order: Sort order [ASC|DESC]
-
int
$slice: Number of slice items to extract from result array
Redefinition of:
- rcube_storage::list_messages()
- Public method for listing headers.
Returns information about what rights can be granted to the user (identifier) in the ACL for the folder (LISTRIGHTS)
array
list_rights
(string $folder, string $user)
-
string
$folder: Folder name
-
string
$user: User name
Redefinition of:
- rcube_storage::list_rights()
- Returns information about what rights can be granted to the user (identifier) in the ACL for the folder (LISTRIGHTS).
protected method for listing a set of message headers (search results)
array
list_search_messages
(string $folder, int $page, [int $slice = 0])
-
string
$folder: Folder name
-
int
$page: Current page to list
-
int
$slice: Number of slice items to extract from result array
protected method for listing a set of threaded message headers (search results)
array
list_search_thread_messages
(string $folder, int $page, [int $slice = 0])
-
string
$folder: Folder name
-
int
$page: Current page to list
-
int
$slice: Number of slice items to extract from result array
protected method for listing message headers using threads
array
list_thread_messages
(string $folder, int $page, [int $slice = 0])
-
string
$folder: Folder name
-
int
$page: Current page to list
-
int
$slice: Number of slice items to extract from result array
void
list_unsubscribed
([ $root = ''], [ $name = '*'], [ $filter = null], [ $rights = null], [ $skip_sort = false])
-
$root
-
$name
-
$filter
-
$rights
-
$skip_sort
void
mailbox_attributes
( $folder, [ $force = false])
void
mailbox_data
( $folder)
void
mailbox_exists
( $folder, [ $subscription = false])
void
mailbox_info
( $folder)
void
mailbox_namespace
( $folder)
void
mailbox_status
([ $folder = null])
void
mailbox_sync
( $folder)
Converts the METADATA extension entry name into the correct entry-attrib names for older ANNOTATEMORE version.
array
md2annotate
(string $entry)
-
string
$entry: Entry name
void
message_index
([ $folder = ''], [ $sort_field = NULL], [ $sort_order = NULL])
-
$folder
-
$sort_field
-
$sort_order
void
message_index_direct
( $folder, [ $sort_field = null], [ $sort_order = null], [ $skip_cache = true])
-
$folder
-
$sort_field
-
$sort_order
-
$skip_cache
void
mime_decode
( $input, [ $encoding = '7bit'])
Modify folder name according to namespace.
For output it removes prefix of the personal namespace if it's possible. For input it adds the prefix. Use it before creating a folder in root of the folders tree.
string
mod_folder
(string $folder, [string $mode = 'out'])
-
string
$folder: Folder name
-
string
$mode: Mode name (out/in)
Redefinition of:
- rcube_storage::mod_folder()
- Modify folder name according to namespace.
void
mod_mailbox
( $folder, [ $mode = 'out'])
Move a message from one folder to another
boolean
move_message
(mixed $uids, string $to_mbox, [string $from_mbox = ''])
-
mixed
$uids: Message UIDs as array or comma-separated string, or '*'
-
string
$to_mbox: Target folder
-
string
$from_mbox: Source folder
Redefinition of:
- rcube_storage::move_message()
- Move message(s) from one folder to another.
Returns the set of rights that the current user has to folder (MYRIGHTS)
array
my_rights
(string $folder)
-
string
$folder: Folder name
Redefinition of:
- rcube_storage::my_rights()
- Returns the set of rights that the current user has to a folder (MYRIGHTS).
Sends the whole message source to stdout
void
print_raw_body
(int $uid, [bool $formatted = true])
-
int
$uid: Message UID
-
bool
$formatted: Enables line-ending formatting
Redefinition of:
- rcube_storage::print_raw_body()
- Sends the whole message source to stdout
Set a new name to an existing folder
boolean
rename_folder
(string $folder, string $new_name)
-
string
$folder: Folder to rename
-
string
$new_name: New folder name
Redefinition of:
- rcube_storage::rename_folder()
- Set a new name to an existing folder
void
rename_mailbox
( $folder, $new_name)
Recursive method for sorting folders
void
rsort
( $folder, $delimiter, &$list, &$out)
-
$folder
-
$delimiter
-
&$list
-
&$out
Append a mail message (source) to a specific folder
int|bool
save_message
(string $folder, &$message, [string $headers = ''], [boolean $is_file = false], [array $flags = array()], [mixed $date = null], [bool $binary = false], string $message)
-
string
$folder: Target folder
-
string
$message: The message source string or filename
-
string
$headers: Headers string if $message contains only the body
-
boolean
$is_file: True if $message is a filename
-
array
$flags: Message flags
-
mixed
$date: Message internal date
-
bool
$binary: Enables BINARY append
-
&$message
Redefinition of:
- rcube_storage::save_message()
- Append a mail message (source) to a specific folder.
Invoke search request to IMAP server
void
search
([string $folder = ''], [string $str = 'ALL'], [string $charset = NULL], [string $sort_field = NULL])
-
string
$folder: Folder name to search in
-
string
$str: Search criteria
-
string
$charset: Search charset
-
string
$sort_field: Header field to sort by
Redefinition of:
- rcube_storage::search()
- Invoke search request to the server.
protected search method
-
string
$folder: Folder name
-
string
$criteria: Search criteria
-
string
$charset: Charset
-
string
$sort_field: Sorting field
Direct (real and simple) SEARCH request (without result sorting and caching).
rcube_result_index
search_once
([
$folder =
null], [
string $str =
'ALL'],
string $mailbox)
-
string
$mailbox: Mailbox name to search in
-
string
$str: Search string
-
$folder
Redefinition of:
- rcube_storage::search_once()
- Direct (real and simple) search request (without result sorting and caching).
void
select_mailbox
( $mailbox)
Changes the ACL on the specified folder (SETACL)
boolean
set_acl
(string $folder, string $user, string $acl)
-
string
$folder: Folder name
-
string
$user: User name
-
string
$acl: ACL string
Redefinition of:
- rcube_storage::set_acl()
- Changes the ACL on the specified folder (SETACL)
Enable or disable indexes caching
void
set_caching
(string $type)
-
string
$type: Cache type (@see rcube::get_cache)
Activate/deactivate debug mode
void
set_debug
([boolean $dbg = true])
-
boolean
$dbg: True if IMAP conversation should be logged
Redefinition of:
- rcube_storage::set_debug()
- Activate/deactivate debug mode.
Sets delimiter and namespaces
void
set_env
()
Set message flag to one or several messages
boolean
set_flag
(mixed $uids, string $flag, [string $folder = null], [boolean $skip_cache = false])
-
mixed
$uids: Message UIDs as array or comma-separated string, or '*'
-
string
$flag: Flag to set: SEEN, UNDELETED, DELETED, RECENT, ANSWERED, DRAFT, MDNSENT
-
string
$folder: Folder name
-
boolean
$skip_cache: True to skip message cache clean up
Redefinition of:
- rcube_storage::set_flag()
- Set message flag to one or several messages
Set internal folder reference.
All operations will be perfomed on this folder.
void
set_folder
(string $folder)
-
string
$folder: Folder name
Redefinition of:
- rcube_storage::set_folder()
- Set internal folder reference.
Stores folder statistic data in session
void
set_folder_stats
(string $folder, string $name, mixed $data)
-
string
$folder: Folder name
-
string
$name: Data name
-
mixed
$data: Data value
void
set_mailbox
( $folder)
Increde/decrese messagecount for a specific folder
void
set_messagecount
( $folder, $mode, $increment)
Enable or disable messages caching
void
set_messages_caching
(boolean $set)
Sets IMAP metadata/annotations (SETMETADATA/SETANNOTATION)
boolean
set_metadata
(string $folder, array $entries)
-
string
$folder: Folder name (empty for server metadata)
-
array
$entries: Entry-value array (use NULL value as NIL)
Redefinition of:
- rcube_storage::set_metadata()
- Sets metadata/annotations (SETMETADATA/SETANNOTATION)
Set attachment filename from message part structure
Save a search result for future message listing methods
void
set_search_set
(array $set)
-
array
$set: Search set, result from rcube_imap::get_search_set():
- - searching criteria, string
- - search result, rcube_result_index|rcube_result_thread
- - searching character set, string
- - sorting field, string
- - true if sorted, bool
Redefinition of:
- rcube_storage::set_search_set()
- Save a search result for future message listing methods.
Validate the given input and save to local properties
void
set_sort_order
(string $sort_field, string $sort_order)
-
string
$sort_field: Sort column
-
string
$sort_order: Sort order
protected method for setting threaded messages flags: depth, has_children and unread_children
-
array
$headers: Reference to headers array indexed by message UID
-
rcube_result_thread
$threads: Threads data object
-
&$headers
Sort folders first by default folders and then in alphabethical order
void
sort_folder_list
(array $a_folders)
-
array
$a_folders: Folders list
Sort threaded result, using THREAD=REFS method
Get charset name from message structure (first part)
string
structure_charset
(array $structure)
-
array
$structure: Message structure
Build message part object
void
structure_part
(array $part, [int $count = 0], [string $parent = ''], [ $mime_headers = null])
-
array
$part
-
int
$count
-
string
$parent
-
$mime_headers
Subscribe to a specific folder(s)
boolean
subscribe
(array $folders)
-
array
$folders: Folder name(s)
Redefinition of:
- rcube_storage::subscribe()
- Subscribe to a specific folder(s)
Return index of threaded message UIDs
rcube_result_thread
thread_index
([
string $folder =
''], [
string $sort_field =
NULL], [
string $sort_order =
NULL])
-
string
$folder: Folder to get index from
-
string
$sort_field: Sort column
-
string
$sort_order: Sort order [ASC, DESC]
Unsubscribe folder(s)
boolean
unsubscribe
( $folders, array $a_mboxes)
-
array
$a_mboxes: Folder name(s)
-
$folders
Redefinition of:
- rcube_storage::unsubscribe()
- Unsubscribe folder(s)
Update cache
void
update_cache
(string $key, mixed $data)
-
string
$key: Cache key
-
mixed
$data: Data
protected method for listing message headers
array
_list_messages
([string $folder = ''], [int $page = NULL], [string $sort_field = NULL], [string $sort_order = NULL], [int $slice = 0])
-
string
$folder: Folder name
-
int
$page: Current page to list
-
string
$sort_field: Header field to sort by
-
string
$sort_order: Sort order [ASC|DESC]
-
int
$slice: Number of slice items to extract from result array
Magic getter for backward compat.
void
__get
( $name)
Inherited Methods
Inherited From rcube_storage
rcube_storage::check_connection()
rcube_storage::check_permflag()
rcube_storage::clear_cache()
rcube_storage::clear_folder()
rcube_storage::close()
rcube_storage::connect()
rcube_storage::copy_message()
rcube_storage::count()
rcube_storage::create_default_folders()
rcube_storage::create_folder()
rcube_storage::delete_acl()
rcube_storage::delete_folder()
rcube_storage::delete_message()
rcube_storage::delete_metadata()
rcube_storage::expunge_cache()
rcube_storage::expunge_folder()
rcube_storage::expunge_message()
rcube_storage::folder_attributes()
rcube_storage::folder_data()
rcube_storage::folder_exists()
rcube_storage::folder_info()
rcube_storage::folder_namespace()
rcube_storage::folder_size()
rcube_storage::folder_status()
rcube_storage::folder_sync()
rcube_storage::get_acl()
rcube_storage::get_body()
rcube_storage::get_cache()
rcube_storage::get_capability()
rcube_storage::get_error_code()
rcube_storage::get_error_str()
rcube_storage::get_folder()
rcube_storage::get_hierarchy_delimiter()
rcube_storage::get_message()
rcube_storage::get_message_headers()
rcube_storage::get_message_part()
rcube_storage::get_metadata()
rcube_storage::get_namespace()
rcube_storage::get_page()
rcube_storage::get_pagesize()
rcube_storage::get_quota()
rcube_storage::get_raw_body()
rcube_storage::get_raw_headers()
rcube_storage::get_response_code()
rcube_storage::get_search_set()
rcube_storage::get_threading()
rcube_storage::index()
rcube_storage::is_connected()
rcube_storage::list_folders()
rcube_storage::list_folders_subscribed()
rcube_storage::list_messages()
rcube_storage::list_rights()
rcube_storage::mod_folder()
rcube_storage::move_message()
rcube_storage::my_rights()
rcube_storage::parse_uids()
rcube_storage::print_raw_body()
rcube_storage::refresh_search()
rcube_storage::rename_folder()
rcube_storage::save_message()
rcube_storage::search()
rcube_storage::search_once()
rcube_storage::set_acl()
rcube_storage::set_charset()
rcube_storage::set_debug()
rcube_storage::set_default_folders()
rcube_storage::set_flag()
rcube_storage::set_folder()
rcube_storage::set_metadata()
rcube_storage::set_options()
rcube_storage::set_page()
rcube_storage::set_pagesize()
rcube_storage::set_search_set()
rcube_storage::set_threading()
rcube_storage::subscribe()
rcube_storage::unset_flag()
rcube_storage::unsubscribe()