Property | Type | Description | |
---|---|---|---|
$autoUpdateMethod | string | The method to use to render the block when Horde_Ajax_Application_Handler#blockAutoUpdate is called instead of the default of Horde_Core_Block#getContent By default, we call _content() | |
$enabled | boolean | Is this block enabled? | |
$updateable | boolean | Whether this block has changing content. |
Property | Type | Description | |
---|---|---|---|
$_app | string | Application that this block originated from. | |
$_name | string | Block name. Should be set in the constructor. | |
$_params | array | Block specific parameters. |
Method | Description | |
---|---|---|
__construct ( string $app, array | boolean $params = [] ) | Constructor. | |
getAjaxUpdate ( Horde_Variables $vars ) : string | The data to send on an AJAX update request. | |
getApp ( ) : string | Returns the application that this block belongs to. | |
getContent ( ) : string | Returns the content for this block. | |
getName ( ) : string | Return the block name. | |
getParamValues ( ) : array | Returns a hash of block parameters and their configured values. | |
getParams ( ) : array | Returns any settable parameters for this block. | |
getTitle ( ) : string | Returns the text to go in the title of this block. | |
refreshContent ( Horde_Variables $vars ) : string | Returns the content for this block in response to a user requested update from within the block. |
Method | Description | |
---|---|---|
_ajaxUpdate ( Horde_Variables $vars ) : string | Returns this block's content for AJAX updates. | |
_ajaxUpdateUrl ( ) : Horde_Url | Return the URL to use for AJAX update requests. | |
_call ( string $name, mixed $default, mixed $args = null ) : mixed | Calls the application driver in the proper context. | |
_content ( ) : string | Returns this block's content. | |
_params ( ) : array | Returns the parameters needed by block. | |
_refreshContent ( Horde_Variables $vars ) : string | Stub to be overridden by concrete block that supports user-initiated updating of content via ajax. | |
_title ( ) : string | Returns the title to go in this block. |
protected _ajaxUpdate ( Horde_Variables $vars ) : string | ||
$vars | Horde_Variables | The form variables for the request. |
return | string | The update content. |
protected _ajaxUpdateUrl ( ) : Horde_Url | ||
return | Horde_Url | The update URL. |
protected _refreshContent ( Horde_Variables $vars ) : string | ||
$vars | Horde_Variables | |
return | string |
public getAjaxUpdate ( Horde_Variables $vars ) : string | ||
$vars | Horde_Variables | The form variables for the request. |
return | string | Update data. |
public getContent ( ) : string | ||
return | string | The block's content. |
public getParamValues ( ) : array | ||
return | array | Parameter values. |
public refreshContent ( Horde_Variables $vars ) : string | ||
$vars | Horde_Variables | |
return | string | The block's content. |
protected string $_app | ||
return | string |
protected string $_name | ||
return | string |
public string $autoUpdateMethod | ||
return | string |
public bool $updateable | ||
return | boolean |