rcmailApplication class of Roundcube Webmail implemented as singleton
Located in /rcmail.php (line 30)
boolean
text_exists
(string $name, [string $domain = null], [ &$ref_domain = null], string $ref_domain)
static array
$main_tasks
= array('mail','settings','addressbook','login','logout','utils','dummy') (line 37)
Main tasks.
string
$action
= '' (line 121)
Current action.
mixed
$comm_path
= './' (line 122)
rcube_config
$config
(line 51)
Stores instance of rcube_config.
rcube_mdb2
$db
(line 65)
Instace of database class.
rcube_imap
$imap
(line 93)
Instance of rcube_imap class.
rcube_mdb2
$memcache
(line 72)
Instace of Memcache class.
rcube_template
$output
(line 100)
Instance of rcube_template class.
rcube_plugin_api
$plugins
(line 107)
Instance of rcube_plugin_api.
rcube_session
$session
(line 79)
Instace of rcube_session class.
rcube_smtp
$smtp
(line 86)
Instance of rcube_smtp class.
string
$task
(line 114)
Current task.
rcube_user
$user
(line 58)
Stores rcube_user instance.
static exec (line 1532)
Construct shell command, execute it and return output as string.
Keywords {keyword} are replaced with arguments
static get_instance (line 136)
This implements the 'singleton' design pattern
static imageconvert (line 1499)
Convert an image to a given size and type using imagemagick (ensures input is an image)
static imageprops (line 1470)
Use imagemagick or GD lib to read image properties
static setcookie (line 1577)
Helper method to set a cookie with the current path and host settings
add_shutdown_function (line 1256)
Registers shutdown function to be executed on shutdown.
The functions will be executed before destroying any objects like smtp, imap, session, etc.
autoselect_host (line 933)
Auto-select IMAP host based on the posted login information
check_request (line 1282)
Check if the current request contains a valid token
decrypt (line 1370)
Decrypt 3DES-encrypted string
encrypt (line 1321)
Encrypt using 3DES
gettext (line 980)
Get localized text in the desired language
get_action_file (line 1607)
Returns current action filename
get_address_book (line 406)
Return instance of the internal address book class
get_address_sources (line 470)
Return address books list
get_cache (line 388)
Initialize and get cache object
get_memcache (line 330)
Get global handle for memcache access
get_request_token (line 1267)
Generate a unique token to be used in a form request
imap_connect (line 653)
Connect to IMAP server with stored session data
imap_init (line 590)
Create global IMAP object and connect to server
kill_session (line 1162)
Destroy session data and remove cookie
list_languages (line 1136)
Read directory program/localization and return a list of available languages
load_gui (line 528)
Init output object for GUI and add common scripts.
This will instantiate a rcmail_template object and set environment vars according to the current session and configuration
load_language (line 1089)
Load a localization package
login (line 748)
Perfom login to the IMAP server and to the webmail service.
This will also create a new user entry if auto_create_user is configured.
logout_actions (line 1175)
Do server side actions on logout
memcache_failure (line 363)
Callback for memcache failure
register_action_map (line 1593)
Registers action aliases for current task
session_configure (line 718)
Configure session object internals
session_init (line 676)
Create session object and start the session.
set_imap_prop (line 912)
Set root dir and last stored mailbox
This must be done AFTER connecting to the server!
set_task (line 217)
Setter for application task
shutdown (line 1206)
Function to be executed in script shutdown
Registered with register_shutdown_function()
smtp_init (line 575)
Create SMTP object and connect to server
text_exists (line 1056)
Check if the given text label exists
url (line 1442)
Build a valid URL to this instance of Roundcube
Documentation generated on Tue, 04 Oct 2011 22:55:23 +0200 by phpDocumentor 1.4.3