...Человеческий поиск в разработке...
- Модуль: im
- Путь к файлу: ~/bitrix/modules/im/lib/model/linkcalendar.php
- Класс: BitrixImModelLinkCalendarTable
- Вызов: LinkCalendarTable::getMap
static function getMap() { return [ 'ID' => new IntegerField( 'ID', [ 'primary' => true, 'autocomplete' => true, ] ), 'MESSAGE_ID' => new IntegerField( 'MESSAGE_ID', [ 'nullable' => true ] ), 'CHAT_ID' => new IntegerField( 'CHAT_ID', [ ] ), 'AUTHOR_ID' => new IntegerField( 'AUTHOR_ID', [ ] ), 'DATE_CREATE' => new DatetimeField( 'DATE_CREATE', [ 'required' => true, 'default_value' => static function() { return new DateTime(); } ] ), 'CALENDAR_ID' => new IntegerField( 'CALENDAR_ID', [ ] ), 'CALENDAR_TITLE' => new StringField( 'CALENDAR_TITLE', [ 'validation' => [__CLASS__, 'validateCalendarTitle'], ] ), 'CALENDAR_DATE_FROM' => new DatetimeField( 'CALENDAR_DATE_FROM', [ ] ), 'CALENDAR_DATE_TO' => new DatetimeField( 'CALENDAR_DATE_TO', [ ] ), 'INDEX' => (new Reference( 'INDEX', LinkCalendarIndexTable::class, Join::on('this.ID', 'ref.ID') ))->configureJoinType(Join::TYPE_INNER), ]; }