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

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

 toRestFormat (array $option=[])
 
 getUrl ()
 
 getId ()
 
 setId (?int $id)
 
 getTitle ()
 
 setTitle (string $title)
 
 getDateFrom ()
 
 setDateFrom (DateTime $dateFrom)
 
 getDateTo ()
 
 setDateTo (DateTime $dateTo)
 
 getOwnerId ()
 
 setOwnerId (int $ownerId)
 
 getCreatedBy ()
 
 setCreatedBy (int $createdBy)
 
 getType ()
 
 setType (string $type)
 
 getMembersIds ()
 
 setMembersIds (array $membersIds)
 

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

static getRestEntityName ()
 
static initByGetListArray (array $calendarInfo)
 
static initById (int $id, ?Context $context=null)
 

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

int $id
 
int $ownerId
 
int $createdBy
 
string $title
 
string $type
 
DateTime $dateFrom
 
DateTime $dateTo
 
array $membersIds
 

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

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

Методы

◆ getCreatedBy()

getCreatedBy ( )

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

◆ getDateFrom()

getDateFrom ( )

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

◆ getDateTo()

getDateTo ( )

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

◆ getId()

getId ( )

Returns the id of the entity

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

Замещает Entity.

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

◆ getMembersIds()

getMembersIds ( )
Возвращает
int[]

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

◆ getOwnerId()

getOwnerId ( )

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

◆ getRestEntityName()

static getRestEntityName ( )
static

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

Возвращает
string

Замещает RestConvertible.

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

◆ getTitle()

getTitle ( )

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

◆ getType()

getType ( )

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

◆ getUrl()

getUrl ( )

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

◆ initByGetListArray()

static initByGetListArray ( array $calendarInfo)
static

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

◆ initById()

static initById ( int $id,
?Context $context = null )
static

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

◆ setCreatedBy()

setCreatedBy ( int $createdBy)

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

◆ setDateFrom()

setDateFrom ( DateTime $dateFrom)

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

◆ setDateTo()

setDateTo ( DateTime $dateTo)

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

◆ setId()

setId ( ?int $id)

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

◆ setMembersIds()

setMembersIds ( array $membersIds)
Аргументы
int[]$membersIds

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

◆ setOwnerId()

setOwnerId ( int $ownerId)

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

◆ setTitle()

setTitle ( string $title)

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

◆ setType()

setType ( string $type)

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

◆ toRestFormat()

toRestFormat ( array $option = [])

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

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

Замещает RestConvertible.

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

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

◆ $createdBy

int $createdBy
protected

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

◆ $dateFrom

DateTime $dateFrom
protected

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

◆ $dateTo

DateTime $dateTo
protected

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

◆ $id

int $id
protected

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

◆ $membersIds

array $membersIds
protected

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

◆ $ownerId

int $ownerId
protected

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

◆ $title

string $title
protected

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

◆ $type

string $type
protected

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