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