Свойство | Type | Description | |
---|---|---|---|
$ajaxLink | string | Ajax link where widget can grab content. | |
$widgetFactory | Widget factory object. |
Méthode | Description | |
---|---|---|
__construct ( |
||
getContainerId ( ) : string | Get the current widget container id. | |
getLoader ( ) : string | Construct javascript code to load the widget. | |
getReloader ( float | integer $timeout ) : string | Construct javascript code to reload the widget. |
Méthode | Description | |
---|---|---|
constructAjaxCall ( ) : string | Construct ajax call for loaders. | |
constructJqueryAjaxCall ( string $url ) : string | Construct ajax call with jquery. | |
constructNativeJsAjaxCall ( string $url ) : string | Construct ajax call without jquery. | |
useJquery ( ) : boolean | Determine what to use - jquery or native js. |
public __construct ( |
||
$widgetFactory |
protected constructAjaxCall ( ) : string | ||
Résultat | string |
protected constructJqueryAjaxCall ( string $url ) : string | ||
$url | string | |
Résultat | string |
protected constructNativeJsAjaxCall ( string $url ) : string | ||
$url | string | |
Résultat | string |
public getContainerId ( ) : string | ||
Résultat | string |
protected string $ajaxLink | ||
Résultat | string |