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

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

 getId ()
 
 setId (?int $id)
 
 getType ()
 
 setType (?string $type)
 
 getName ()
 
 setName (?string $name)
 
 getDescription ()
 
 setDescription (?string $description)
 
 getPreviewUrl ()
 
 setPreviewUrl (?string $previewUrl)
 
 getLink ()
 
 setLink (?string $link)
 
 getAllowedUsers ()
 
 setAllowedUsers (array $allowedUsers)
 
 toRestFormat (array $option=[])
 

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

static initByAttach (?\CIMMessageParamAttach $attach)
 
static getRestEntityName ()
 

Открытые атрибуты

const TASKS_TYPE = 'TASKS'
 
const CALENDAR_TYPE = 'CALENDAR'
 
const LANDING_TYPE = 'LANDING'
 
const POST_TYPE = 'POST'
 
const LINK_TYPE = 'LINK'
 
const DYNAMIC_TYPE = 'DYNAMIC'
 

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

int $id = null
 
string $type = null
 
string $name = null
 
string $description = null
 
string $previewUrl = null
 
string $link = null
 
array $allowedUsers = null
 

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

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

Методы

◆ getAllowedUsers()

getAllowedUsers ( )

Returns an array of user ids who can access this rich data If null is returned, then there are no restrictions.

Возвращает
array|null

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

◆ getDescription()

getDescription ( )

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

◆ getId()

getId ( )

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

◆ getLink()

getLink ( )

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

◆ getName()

getName ( )

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

◆ getPreviewUrl()

getPreviewUrl ( )

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

◆ getRestEntityName()

static getRestEntityName ( )
static

Returns the name of the entity that will be used in the rest response

Возвращает
string

Замещает RestConvertible.

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

◆ getType()

getType ( )

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

◆ initByAttach()

static initByAttach ( ?\CIMMessageParamAttach $attach)
static

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

◆ setAllowedUsers()

setAllowedUsers ( array $allowedUsers)

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

◆ setDescription()

setDescription ( ?string $description)

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

◆ setId()

setId ( ?int $id)

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

◆ setLink()

setLink ( ?string $link)

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

◆ setName()

setName ( ?string $name)

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

◆ setPreviewUrl()

setPreviewUrl ( ?string $previewUrl)

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

◆ setType()

setType ( ?string $type)

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

◆ toRestFormat()

toRestFormat ( array $option = [])

Returns an array in JSON like format to return the entity as a rest response.

Аргументы
array$option
Возвращает
array

Замещает RestConvertible.

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

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

◆ $allowedUsers

array $allowedUsers = null
protected

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

◆ $description

string $description = null
protected

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

◆ $id

int $id = null
protected

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

◆ $link

string $link = null
protected

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

◆ $name

string $name = null
protected

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

◆ $previewUrl

string $previewUrl = null
protected

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

◆ $type

string $type = null
protected

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

◆ CALENDAR_TYPE

const CALENDAR_TYPE = 'CALENDAR'

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

◆ DYNAMIC_TYPE

const DYNAMIC_TYPE = 'DYNAMIC'

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

◆ LANDING_TYPE

const LANDING_TYPE = 'LANDING'

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

◆ LINK_TYPE

const LINK_TYPE = 'LINK'

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

◆ POST_TYPE

const POST_TYPE = 'POST'

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

◆ TASKS_TYPE

const TASKS_TYPE = 'TASKS'

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