Class IMP
IMP Base Class.
Copyright 1999-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.
Category: Horde
License: GPL
Author: Chuck Hagenbuch chuck@horde.org
Author: Jon Parise jon@horde.org
Author: Michael Slusarz slusarz@horde.org
Located at IMP.php
public static
string
|
|
public static
boolean
|
#
showAjaxView( )
Determines if we should display the ajax view based on a combination of user prefs and browser capabilities. |
public static
string
|
#
addAddress( string $newAddress, string $newName )
Adds a contact to the user defined address book. |
public static
string
|
#
flistSelect( array $options = array() )
Generates a select form input from a folder list. The <select> and </select> tags are NOT included in the output. |
public static
string
|
#
getComposeArgs( )
Checks for To:, Subject:, Cc:, and other compose window arguments and pass back an associative array of those that are present. |
public static
Horde_Url
|
#
composeLink( mixed $args = array(), array $extra = array(), string $simplejs = false )
Returns the appropriate link to call the message composition script. |
public static
string
|
#
composeLinkSimpleCallback( Horde_Url $url )
Callback for Horde_Url when generating "simple" compose links. Simple links don't require exterior javascript libraries. |
public static
string
|
#
composeLinkJsCallback( Horde_Url $url )
Callback for Horde_Url when generating javascript compose links. |
public static
string
|
|
public
boolean
|
#
hasPermission( string $permission, mixed $opts = array() )
Returns whether the specified permission is granted. |
public static
string
|
|
public static
|
|
public static
|
|
public static
array
|
|
public static
mixed
|
#
encryptList( string $default = null, boolean $returnList = false )
Return a list of valid encrypt HTML option tags. |
public static
|
#
setCurrentMailboxInfo( boolean $mbox = null )
Sets mailbox/index information for current page load. This information is accessible via IMP::$mailbox, IMP::$thismailbox, and IMP::$uid. |
public static
Horde_Url
|
|
public static
boolean
|
|
public static
array
|
|
public static
string
|
|
public static
string
|
|
public static
string
|
#
numberFormat( integer $number, integer $decimals )
Workaround broken number_format() prior to PHP 5.4.0. |
string |
ENCRYPT_NONE
|
#
'encrypt_none'
|
integer |
MAILBOX_START_FIRSTUNSEEN
|
#
1
|
integer |
MAILBOX_START_LASTUNSEEN
|
#
2
|
integer |
MAILBOX_START_FIRSTPAGE
|
#
3
|
integer |
MAILBOX_START_LASTPAGE
|
#
4
|
string |
NOTEPAD_EDIT
|
#
"notepad\0"
|
string |
TASKLIST_EDIT
|
#
"tasklist\0"
|
string |
INITIAL_FOLDERS
|
#
"initial\0folders"
|
integer |
IMAP_SORT_DATE
|
#
100
|
public static
string
|
$newUrl
Storage place for an altered version of the current URL. |
#
null
|
public static
|
$mailbox
The current active mailbox (may be search mailbox). |
|
public static
|
$thismailbox
The real IMAP mailbox of the current index. |
|
public static
integer
|
$uid
The IMAP UID. |
#
''
|