Метод | Описание | |
---|---|---|
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 | |
Результат | array | of IWidget |
public static SetDefaultWidgets ( integer $p_uid ) : void | ||
$p_uid | integer | |
Результат | void |
public static SetDefaultWidgetsAll ( ) : void | ||
Результат | void |