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

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

 getRows ()
 
 getCopyForCurrentUser ()
 
 getBoardKey ()
 
 setBoardKey ($boardKey)
 
 getUserId ()
 
 setUserId ($userId)
 
 getGId ()
 
 setGId ($gId)
 
 getVersion ()
 
 setVersion ($version)
 
- Открытые члены унаследованные от 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 getBoardWithRowsAndWidgetsByBoardKeyUserId ($boardKey, $userId)
 
static getDefaultBoardWithEverythingByBoardKey ($boardKey, $createIfNotExist=true)
 
static getDefaultBoardByBoardKey ($boardKey)
 
static loadByBoardKeyAndUserId ($boardKey, $userId)
 
static loadByBoardKeyMultiple ($boardKey)
 
- Открытые статические члены унаследованные от Model
static getClassName ()
 
static load ($filter, array $with=array(), $order=array())
 
static loadById ($id)
 
static factoryWithHorizontalCells ($cellCount=1)
 

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

 $gId
 
 $boardKey
 
 $userId
 
 $version = ''
 
 $rows
 
- Защищенные данные унаследованные от Model
 $id
 
 $createdAt
 
 $updatedAt
 
 $errors
 

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

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

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

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

Методы

◆ getBoardKey()

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

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

◆ getBoardWithRowsAndWidgetsByBoardKeyUserId()

static getBoardWithRowsAndWidgetsByBoardKeyUserId ( $boardKey,
$userId )
static

Return board with fully loaded rows and widgets by board key and user id.

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

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

◆ getCopyForCurrentUser()

getCopyForCurrentUser ( )

Get Copy of Board and nested entities for createing board. All priamry keys are nulled.

Возвращает
Dashboard

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

◆ getDefaultBoardByBoardKey()

static getDefaultBoardByBoardKey ( $boardKey)
static

Return dashboard by board key.

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

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

◆ getDefaultBoardWithEverythingByBoardKey()

static getDefaultBoardWithEverythingByBoardKey ( $boardKey,
$createIfNotExist = true )
static

Return default dashboard with relation entities. if not exist dashboard with this key, by default create new dashboard with this key, and return it.

Аргументы
string$boardKeyBoard key.
bool$createIfNotExistMarker define create or not default board, when call this method.
Возвращает
static

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

◆ getGId()

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

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

◆ getMapAttributes()

static getMapAttributes ( )
static

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

Возвращает
array

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

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

◆ getMapReferenceAttributes()

static getMapReferenceAttributes ( )
static

Map to set relations of this entity with other entities.

Возвращает
array

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

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

◆ getRows()

getRows ( )

Get rows collection of current board.

Возвращает
DashboardRow[]

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

◆ getTableClassName()

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

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

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

◆ getUserId()

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

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

◆ getVersion()

getVersion ( )

Get version.

Возвращает
string

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

◆ loadByBoardKeyAndUserId()

static loadByBoardKeyAndUserId ( $boardKey,
$userId )
static

Load Dashboard by board key and user id.

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

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

◆ loadByBoardKeyMultiple()

static loadByBoardKeyMultiple ( $boardKey)
static

Load multiple boards by board key.

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

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

◆ setBoardKey()

setBoardKey ( $boardKey)

Setter vor board key.

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

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

◆ setGId()

setGId ( $gId)

Gid setter.

Аргументы
string$gIdGid for current board.
Возвращает
void

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

◆ setUserId()

setUserId ( $userId)

User id setter.

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

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

◆ setVersion()

setVersion ( $version)

Setterr for version.

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

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

Данные класса

◆ $boardKey

$boardKey
protected

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

◆ $gId

$gId
protected

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

◆ $rows

$rows
protected

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

◆ $userId

$userId
protected

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

◆ $version

$version = ''
protected

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