Открытые члены | |
__construct ($source=null) | |
setEntity (RestEntity $entity) | |
getEntity () | |
save () | |
delete () | |
getTitle () | |
setTitle (string $title) | |
getDateFrom () | |
setDateFrom (DateTime $dateFrom) | |
getDateTo () | |
setDateTo (DateTime $dateTo) | |
![]() | |
toRestFormatIdOnly () | |
getPopupData (array $excludedList=[]) | |
getId () | |
setId (int $id) | |
getPrimaryId () | |
setPrimaryId (int $primaryId) | |
getAuthorId () | |
setAuthorId (int $authorId) | |
getMessageId () | |
setMessageId (?int $messageId) | |
getChatId () | |
setChatId (int $chatId) | |
getEntityId () | |
setEntityId (?int $entityId) | |
getDateCreate () | |
setDateCreate (DateTime $dateCreate) | |
setMessageInfo (Message $message) | |
toRestFormat (array $option=[]) | |
![]() | |
load ($source) | |
prepareFields () | |
getDataEntity () | |
markChanged () | |
isChanged () | |
markDrop () | |
isDeleted () | |
fill (array $source) | |
toArray () | |
![]() | |
setRegistry (Registry $registry) | |
getRegistry () | |
Открытые статические члены | |
static | getByCalendarId (int $id, bool $fillEntity=true) |
static | getByMessageId (int $messageId) |
static | getDataClass () |
static | getEntityClassName () |
static | getRestEntityName () |
![]() | |
static | linkEntityToMessage (RestEntity $entity, Message $message) |
Защищенные статические члены | |
static | getEntityIdFieldName () |
static | mirrorDataEntityFields () |
Защищенные данные | |
string | $title |
DateTime | $dateFrom |
DateTime | $dateTo |
![]() | |
int | $id = null |
int | $authorId |
int | $messageId = null |
int | $chatId |
int | $entityId |
DateTime | $dateCreate |
RestEntity | $entity |
См. определение в файле CalendarItem.php строка 14
__construct | ( | $source = null | ) |
int | array | EO_LinkCalendar | null | $source |
См. определение в файле CalendarItem.php строка 23
delete | ( | ) |
Drops object from database.
Замещает ActiveRecord.
См. определение в файле CalendarItem.php строка 101
|
static |
См. определение в файле CalendarItem.php строка 51
|
static |
См. определение в файле CalendarItem.php строка 73
|
static |
Returns ORM tablet class name.
Замещает ActiveRecord.
См. определение в файле CalendarItem.php строка 108
getDateFrom | ( | ) |
См. определение в файле CalendarItem.php строка 164
getDateTo | ( | ) |
См. определение в файле CalendarItem.php строка 175
getEntity | ( | ) |
Переопределяет метод предка BaseLinkItem.
См. определение в файле CalendarItem.php строка 44
|
static |
Переопределяет метод предка BaseLinkItem.
См. определение в файле CalendarItem.php строка 118
|
staticprotected |
Переопределяет метод предка BaseLinkItem.
См. определение в файле CalendarItem.php строка 113
|
static |
Returns the name of the entity that will be used in the rest response
Замещает RestConvertible.
См. определение в файле CalendarItem.php строка 123
getTitle | ( | ) |
См. определение в файле CalendarItem.php строка 153
|
staticprotected |
Переопределяет метод предка BaseLinkItem.
См. определение в файле CalendarItem.php строка 128
save | ( | ) |
Saves object state into database.
Замещает ActiveRecord.
См. определение в файле CalendarItem.php строка 90
setDateFrom | ( | DateTime | $dateFrom | ) |
См. определение в файле CalendarItem.php строка 169
setDateTo | ( | DateTime | $dateTo | ) |
См. определение в файле CalendarItem.php строка 180
setEntity | ( | RestEntity | $entity | ) |
RestEntity | Entity\Calendar\CalendarItem | $entity |
Переопределяет метод предка BaseLinkItem.
См. определение в файле CalendarItem.php строка 37
setTitle | ( | string | $title | ) |
См. определение в файле CalendarItem.php строка 158
|
protected |
См. определение в файле CalendarItem.php строка 17
|
protected |
См. определение в файле CalendarItem.php строка 18
|
protected |
См. определение в файле CalendarItem.php строка 16