1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс CalendarItem
Граф наследования:CalendarItem:
BaseLinkItem LinkItem ActiveRecord RegistryEntry LinkRestConvertible Link RestConvertible PopupDataAggregatable

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

 __construct ($source=null)
 setEntity (RestEntity $entity)
 getEntity ()
 save ()
 delete ()
 getTitle ()
 setTitle (string $title)
 getDateFrom ()
 setDateFrom (DateTime $dateFrom)
 getDateTo ()
 setDateTo (DateTime $dateTo)
Открытые члены унаследованные от ActiveRecord
 load ($source)
 prepareFields ()
 getDataEntity ()
 markChanged ()
 isChanged ()
 markDrop ()
 isDeleted ()
 fill (array $source)
 toArray (bool $recursive)
Открытые члены унаследованные от RegistryEntry
 setRegistry (Registry $registry)
 getRegistry ()

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

static getByCalendarId (int $id, bool $fillEntity=true)
static getByMessageId (int $messageId)
static getDataClass ()
static getEntityClassName ()
static getRestEntityName ()

Защищенные статические члены

static getEntityIdFieldName ()
static mirrorDataEntityFields ()

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

string $title
DateTime $dateFrom
DateTime $dateTo

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

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

Конструктор(ы)

◆ __construct()

__construct ( $source = null)
Аргументы
int | array | EO_LinkCalendar | null$source

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

Методы

◆ delete()

delete ( )

Drops object from database.

Возвращает
Result

Замещает ActiveRecord.

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

◆ getByCalendarId()

getByCalendarId ( int $id,
bool $fillEntity = true )
static

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

◆ getByMessageId()

getByMessageId ( int $messageId)
static

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

◆ getDataClass()

getDataClass ( )
static

Returns ORM tablet class name.

Возвращает
string

Замещает ActiveRecord.

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

◆ getDateFrom()

getDateFrom ( )

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

◆ getDateTo()

getDateTo ( )

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

◆ getEntity()

getEntity ( )
Возвращает
RestEntity

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

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

◆ getEntityClassName()

getEntityClassName ( )
static
Возвращает
string|RestEntity

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

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

◆ getEntityIdFieldName()

getEntityIdFieldName ( )
staticprotected

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

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

◆ getRestEntityName()

getRestEntityName ( )
static

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

Возвращает
string

Замещает RestConvertible.

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

◆ getTitle()

getTitle ( )

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

◆ mirrorDataEntityFields()

mirrorDataEntityFields ( )
staticprotected
См. также
CalendarItem::setType
CalendarItem::getType
CalendarItem::setDateFrom
CalendarItem::getDateFrom
CalendarItem::setDateTo
CalendarItem::getDateTo

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

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

◆ save()

save ( )

Saves object state into database.

Возвращает
Result

Замещает ActiveRecord.

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

◆ setDateFrom()

setDateFrom ( DateTime $dateFrom)

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

◆ setDateTo()

setDateTo ( DateTime $dateTo)

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

◆ setEntity()

setEntity ( RestEntity $entity)
Аргументы
RestEntity | Entity\Calendar\CalendarItem$entity
Возвращает
static

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

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

◆ setTitle()

setTitle ( string $title)

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

Поля

◆ $dateFrom

DateTime $dateFrom
protected

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

◆ $dateTo

DateTime $dateTo
protected

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

◆ $title

string $title
protected

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


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