Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс Dashboard

Открытые статические члены

static getDashboardByKeyForCurrentUser ($boardKey)
 
static addWidgetToDashboardsWithKey ($boardKey, WidgetEntity $widget)
 
static renewDefaultDashboard ($boardKey)
 
static getBoardModeIsDemo ($boardKey)
 
static setBoardModeIsDemo ($boardKey, $mode)
 
static updateBoardCustomDefaultMode ($boardKey, $demo=false)
 

Подробное описание

См. определение в файле dashboard.php строка 14

Методы

◆ addWidgetToDashboardsWithKey()

static addWidgetToDashboardsWithKey ( $boardKey,
WidgetEntity $widget )
static

Add this widget to end of all boards with key $boardKey. will create new row and place there $widget.

Аргументы
string$boardKeyBoard key.
WidgetEntity$widgetWidget entity.
Возвращает
array

См. определение в файле dashboard.php строка 47

◆ getBoardModeIsDemo()

static getBoardModeIsDemo ( $boardKey)
static
Аргументы
string$boardKey Board key.
Возвращает
bool

См. определение в файле dashboard.php строка 108

◆ getDashboardByKeyForCurrentUser()

static getDashboardByKeyForCurrentUser ( $boardKey)
static

Try find dashboard with key for this user, if not exist create it from copy of default board and return.

Аргументы
string$boardKeyBoard key.
Возвращает
DashboardEntity

См. определение в файле dashboard.php строка 22

◆ renewDefaultDashboard()

static renewDefaultDashboard ( $boardKey)
static

This method is for service. Find all default dashboards in product. Check if version change, then remove dashboard with all nested entities, and isnert new.

Аргументы
string$boardKeyBoard key.
Исключения
SystemException
Возвращает
void

См. определение в файле dashboard.php строка 77

◆ setBoardModeIsDemo()

static setBoardModeIsDemo ( $boardKey,
$mode )
static

См. определение в файле dashboard.php строка 118

◆ updateBoardCustomDefaultMode()

static updateBoardCustomDefaultMode ( $boardKey,
$demo = false )
static

См. определение в файле dashboard.php строка 125