1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс DashboardRow
Граф наследования:DashboardRow:
Model IErrorable

Открытые члены

 getCopyForCurrentUser ()
 getWidgets ()
 getBoardId ()
 setBoardId ($boardId)
 getWeight ()
 setWeight ($weight)
 getLayoutMap ()
 setLayoutMap ($layoutMap)
 getDashboard ()
 getGId ()
 setGId ($gId)
Открытые члены унаследованные от Model
 __construct ()
 save ()
 delete ()
 getId ()
 setId ($id)
 getCreatedAt ()
 setCreatedAt (DateTime $createdAt)
 getUpdatedAt ()
 setUpdatedAt (DateTime $updatedAt)
 loadAttribute ($attributeName)
 getErrors ()
 getCurrentDbState ()

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

static getTableClassName ()
static getMapAttributes ()
static getMapReferenceAttributes ()
static getRowsByGIdsAndBoardId (array $gIds, $boardId)
static getRowsWithWidgetsByBoard ($boardId)
static loadByGId ($gId)
static getCurrentUserRowByGId ($rowGId)
static getRowsWithReportsByBoard ($boardId)
Открытые статические члены унаследованные от Model
static getClassName ()
static load ($filter, array $with=array(), $order=array())
static loadById ($id)
static factoryWithHorizontalCells ($cellCount=1)

Защищенные данные

 $gId
 $boardId
 $weight
 $layoutMap = ''
 $widgets = array()
 $dashboard
Защищенные данные унаследованные от Model
 $id
 $createdAt
 $updatedAt
 $errors

Дополнительные унаследованные члены

Поля данных унаследованные от Model
const ATTRIBUTE_SLICE_DELIMITER = '__'
Защищенные статические члены унаследованные от Model
static getModelList (array $parameters)
static prepareGetListParameters (array $parameters)

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

Row entity for operate with dashboard row table and with it's references

@method addWidgets(Widget | Widgets[] $widget) add widget/widgets to this row @method deleteReports(Widget | Widgets[] $widget) delete widget connection and if it is ONE-TO-MANY delete Widget entity

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

Методы

◆ getBoardId()

getBoardId ( )
Возвращает
string

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

◆ getCopyForCurrentUser()

getCopyForCurrentUser ( )
Возвращает
DashboardRow

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

◆ getCurrentUserRowByGId()

getCurrentUserRowByGId ( $rowGId)
static

Laod current users row by row gId.

Аргументы
string$rowGIdValue of row gId.
Возвращает
DashboardRow

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

◆ getDashboard()

getDashboard ( )
Возвращает
Dashboard

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

◆ getGId()

getGId ( )
Возвращает
string

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

◆ getLayoutMap()

getLayoutMap ( )
Возвращает
array

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

◆ getMapAttributes()

getMapAttributes ( )
static

Returns the list of pair for mapping data and object properties. Key is field in DataManager, value is object property.

Возвращает
array

Переопределяет метод предка Model.

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

◆ getMapReferenceAttributes()

getMapReferenceAttributes ( )
static
Возвращает
array

Переопределяет метод предка Model.

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

◆ getRowsByGIdsAndBoardId()

getRowsByGIdsAndBoardId ( array $gIds,
$boardId )
static

Load Rows list by board id and rows gIds.

Аргументы
array$gIdsCollection of gIds.
string$boardIdBoard id.
Возвращает
static[]

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

◆ getRowsWithReportsByBoard()

getRowsWithReportsByBoard ( $boardId)
static

Get rows with nested widgets and reprts.

Аргументы
string$boardIdBoard id.
Возвращает
static[]

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

◆ getRowsWithWidgetsByBoard()

getRowsWithWidgetsByBoard ( $boardId)
static

Load and return rows list by board id.

Аргументы
string$boardIdBoard id.
Возвращает
static[]

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

◆ getTableClassName()

getTableClassName ( )
static
Возвращает
string

Переопределяет метод предка Model.

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

◆ getWeight()

getWeight ( )
Возвращает
int

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

◆ getWidgets()

getWidgets ( )
Возвращает
Widget[]

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

◆ loadByGId()

loadByGId ( $gId)
static

Load and return row by gId.

Аргументы
string$gIdRow gId.
Возвращает
static

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

◆ setBoardId()

setBoardId ( $boardId)

Setter for board id.

Аргументы
string$boardIdBoard id.
Возвращает
void

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

◆ setGId()

setGId ( $gId)

Setter for gId value.

Аргументы
string$gIdValue of gId.
Возвращает
void

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

◆ setLayoutMap()

setLayoutMap ( $layoutMap)

Serialize and set layout map array.

Аргументы
array$layoutMapLayout map.
Возвращает
void

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

◆ setWeight()

setWeight ( $weight)

Setter of Weight in rows list of dashboard. (for sorting).

Аргументы
mixed$weightWeight of report.
Возвращает
void

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

Поля

◆ $boardId

$boardId
protected

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

◆ $dashboard

$dashboard
protected

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

◆ $gId

$gId
protected

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

◆ $layoutMap

$layoutMap = ''
protected

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

◆ $weight

$weight
protected

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

◆ $widgets

$widgets = array()
protected

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


Объявления и описания членов класса находятся в файле: