Méthode | Description | |
---|---|---|
AddWidget ( integer $widgetId, $context, integer $uid = NULL, integer $order = NULL ) : boolean | Add widget to user dashboard | |
ExtPath ( ) | ||
GetAvailable ( integer | null $uid = NULL ) : array | Get available widgets for user | |
GetWidgetsByContext ( IWidgetContext $context ) : array | Get widgets by context. | |
SetDefaultWidgets ( integer $p_uid ) : void | Set default widgets for g_user | |
SetDefaultWidgetsAll ( ) : void | Set default widgets for all existing users (called after install/upgrade) |
public static GetWidgetsByContext ( IWidgetContext $context ) : array | ||
$context | IWidgetContext | |
Résultat | array | of IWidget |
public static SetDefaultWidgets ( integer $p_uid ) : void | ||
$p_uid | integer | |
Résultat | void |
public static SetDefaultWidgetsAll ( ) : void | ||
Résultat | void |