PHP 클래스 IMP_Ajax_Application, horde

Global tasks: - msgload: (string) BUID of a message to load in the background (mailbox is located in 'mailbox' parameter). - poll: (string) The list of mailboxes to process (JSON encoded array; mailboxes are base64url encoded). If an empty array, polls all mailboxes. Global parameters (in viewport parameter): - force: (integer) If set, always return viewport information if changed.
저자: Michael Slusarz ([email protected])
상속: extends Horde_Core_Ajax_Application
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$indices IMP_Indices_Mailbox The IMP_Indices_Mailbox object based on form data.
$queue IMP_Ajax_Queue Queue object.

공개 메소드들

메소드 설명
changed ( boolean $rw = null ) : boolean Determine if the cache information has changed.
checkUidvalidity ( ) Check the UID validity of the mailbox.
composeSetup ( string $action ) : array Setup environment for compose actions.
deleteMsgs ( IMP_Indices $indices, boolean $changed, boolean $force = false ) Processes delete message requests.
getAddrFields ( ) : array Return address field data from the browser form.
getTasks ( ) : array Get the list of tasks.
initCompose ( ) : object Initialize the objects needed to compose.
previewUids ( ) : array Return the list of preview UIDs for the current index.
send ( )
viewPortData ( boolean $change ) : IMP_Ajax_Application_Viewport Generate the information necessary for a ViewPort request from/to the browser.

보호된 메소드들

메소드 설명
_init ( )

메소드 상세

_init() 보호된 메소드

protected _init ( )

changed() 공개 메소드

Variables used: - cacheid: (string) The browser (ViewPort) cache identifier. - forceUpdate: (integer) If 1, forces an update.
public changed ( boolean $rw = null ) : boolean
$rw boolean Open mailbox as READ+WRITE?
리턴 boolean True if the server state differs from the browser state.

checkUidvalidity() 공개 메소드

See the list of variables needed for viewPortData().
public checkUidvalidity ( )

composeSetup() 공개 메소드

Variables used: - bcc: (string) Bcc address to use. - bcc_ac: (string) Bcc address to use (autocompleter JSON data). - cc: (string) Cc address to use. - cc_ac: (string) Cc address to use (autocompleter JSON data). - composeCache: (string) The IMP_Compose cache identifier. - from: (string) From address to use. - from_ac: (string) From address to use (autocompleter JSON data). - identity: (integer) The identity to use - redirect_to: (string) To address to use (for redirect). - redirect_to_ac: (string) To address to use (for redirect) (autocompleter JSON data). - to: (string) To address to use. - to_ac: (string) To address to use (autocompleter JSON data).
public composeSetup ( string $action ) : array
$action string AJAX action.
리턴 array An array with the following values: - (object) AJAX base return object (with action and success parameters defined). - (IMP_Compose) The IMP_Compose object for the message. - (array) The list of headers for the object. - (Horde_Prefs_Identity) The identity used for the composition.

deleteMsgs() 공개 메소드

See the list of variables needed for viewPortData().
public deleteMsgs ( IMP_Indices $indices, boolean $changed, boolean $force = false )
$indices IMP_Indices An indices object.
$changed boolean If true, add full ViewPort information.
$force boolean If true, forces addition of disappear information.

getAddrFields() 공개 메소드

Return address field data from the browser form.
public getAddrFields ( ) : array
리턴 array Keys are header names, values are arrays with two keys: - addr: (array) List of addresses. - map: (boolean) If true, addr keys are autocomplete IDs.

getTasks() 공개 메소드

Get the list of tasks.
public getTasks ( ) : array
리턴 array Task list.

initCompose() 공개 메소드

Initialize the objects needed to compose.
public initCompose ( ) : object
리턴 object Object with the following properties: - ajax: IMP_Ajax_Application_Compose object - compose: IMP_Compose object - contents: IMP_Contents object

previewUids() 공개 메소드

Return the list of preview UIDs for the current index.
public previewUids ( ) : array
리턴 array List of objects. Each object has 2 properties: mbox and uid.

send() 공개 메소드

public send ( )

viewPortData() 공개 메소드

Variables used (contained in 'viewport' object): - applyfilter - cache - cacheid - delhide - initial - qsearch - qsearchfield - qsearchfilter - qsearchflag - qsearchflagnot - qsearchmbox - rangeslice - sortby - sortdir
public viewPortData ( boolean $change ) : IMP_Ajax_Application_Viewport
$change boolean True if cache information has changed.
리턴 IMP_Ajax_Application_Viewport Viewport data object.

프로퍼티 상세

$indices 공개적으로 프로퍼티

The IMP_Indices_Mailbox object based on form data.
public IMP_Indices_Mailbox $indices
리턴 IMP_Indices_Mailbox

$queue 공개적으로 프로퍼티

Queue object.
public IMP_Ajax_Queue $queue
리턴 IMP_Ajax_Queue