메소드 | 설명 | |
---|---|---|
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 |