PHP Class IMP_Ajax_Application_Handler_Draft, horde

Author: Michael Slusarz ([email protected])
Inheritance: extends Horde_Core_Ajax_Application_Handler
Datei anzeigen Open project: horde/horde

Public Properties

Property Type Description
$disabled array The list of disabled draft actions.

Public Methods

Method Description
autoSaveDraft ( ) : object AJAX action: Auto save a draft message.
saveDraft ( ) : object AJAX action: Save a draft message.
saveTemplate ( ) : object AJAX action: Save a template message.

Protected Methods

Method Description
_draftAction ( string $action ) : object Save a draft composed message.

Method Details

_draftAction() protected method

See the list of variables needed for IMP_Ajax_Application#composeSetup(). Additional variables used: - html: (integer) In HTML compose mode? - message: (string) The message text. - priority: (string) The priority of the message. - request_read_receipt: (boolean) Add request read receipt header?
protected _draftAction ( string $action ) : object
$action string AJAX action.
return object An object with the following entries: - action: (string) The AJAX action string - success: (integer) 1 on success, 0 on failure.

autoSaveDraft() public method

AJAX action: Auto save a draft message.
public autoSaveDraft ( ) : object
return object See _draftAction().

saveDraft() public method

AJAX action: Save a draft message.
public saveDraft ( ) : object
return object See _draftAction().

saveTemplate() public method

AJAX action: Save a template message.
public saveTemplate ( ) : object
return object See _draftAction().

Property Details

$disabled public_oe property

The list of disabled draft actions.
public array $disabled
return array