PHP Class Horde_Ajax_Application_Handler, horde

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

Public Methods

Method Description
blockAutoUpdate ( ) : string AJAX action: Auto-update portal block. To be called automatically by the block, with no user selected options.
blockRefresh ( ) : string AJAX action: Refresh portal block. Manually refresh the block content, may $this->vars may contain user selected/provided values.
blockUpdate ( ) : Horde_Core_Response AJAX action: Update portal block data. To be used when the block can refresh using only JSON data. I.e., this data would need to be parsed by the block code to be rendered.
sidebarUpdate ( ) : object AJAX action: Update sidebar.
topbarUpdate ( ) : Horde_Core_Ajax_Response_HordeCore AJAX action: Update topbar.

Method Details

blockAutoUpdate() public method

AJAX action: Auto-update portal block. To be called automatically by the block, with no user selected options.
public blockAutoUpdate ( ) : string
return string The full HTML needed to render the block content.

blockRefresh() public method

AJAX action: Refresh portal block. Manually refresh the block content, may $this->vars may contain user selected/provided values.
public blockRefresh ( ) : string
return string The full HTML needed to render the block content.

blockUpdate() public method

AJAX action: Update portal block data. To be used when the block can refresh using only JSON data. I.e., this data would need to be parsed by the block code to be rendered.
public blockUpdate ( ) : Horde_Core_Response
return Horde_Core_Response

sidebarUpdate() public method

AJAX action: Update sidebar.
public sidebarUpdate ( ) : object
return object See Horde_Core_Tree_Renderer_Javascript#renderNodeDefinitions().

topbarUpdate() public method

AJAX action: Update topbar.
public topbarUpdate ( ) : Horde_Core_Ajax_Response_HordeCore
return Horde_Core_Ajax_Response_HordeCore Response object.