• Модуль: disk
  • Путь к файлу: ~/bitrix/modules/disk/lib/internals/volumedeletedlog.php
  • Класс: BitrixDiskInternalsVolumeDeletedLogTable
  • Вызов: VolumeDeletedLogTable::getMap
static function getMap()
{
	return array(
		'ID' => array(
			'data_type' => 'integer',
			'primary' => true,
			'autocomplete' => true,
		),
		'STORAGE_ID' => array(
			'data_type' => 'integer',
			'required' => true,
		),
		'STORAGE' => array(
			'data_type' => 'BitrixDiskInternalsStorageTable',
			'reference' => array(
				'=this.STORAGE_ID' => 'ref.ID'
			),
			'join_type' => 'OUTER',
		),
		'OBJECT_ID' => array(
			'data_type' => 'integer',
			'required' => true,
		),
		'OBJECT_PARENT_ID' => array(
			'data_type' => 'integer',
		),
		'OBJECT_TYPE' => array(
			'data_type' => 'enum',
			'values' => ObjectTable::getListOfTypeValues(),
		),
		'OBJECT_NAME' => array(
			'data_type' => 'string',
			'required' => true,
		),
		'OBJECT_PATH' => array(
			'data_type' => 'string',
		),
		'OBJECT_SIZE' => array(
			'data_type' => 'integer',
		),
		'OBJECT_CREATED_BY' => array(
			'data_type' => 'integer',
		),
		'OBJECT_CREATE_USER' => array(
			'data_type' => 'BitrixMainUserTable',
			'reference' => array(
				'=this.OBJECT_CREATED_BY' => 'ref.ID'
			),
		),
		'OBJECT_UPDATED_BY' => array(
			'data_type' => 'integer',
		),
		'OBJECT_UPDATE_USER' => array(
			'data_type' => 'BitrixMainUserTable',
			'reference' => array(
				'=this.OBJECT_UPDATED_BY' => 'ref.ID'
			),
		),
		'VERSION_ID' => array(
			'data_type' => 'integer',
		),
		'VERSION_NAME' => array(
			'data_type' => 'string',
		),
		'FILE_ID' => array(
			'data_type' => 'integer',
		),
		'DELETED_TIME' => array(
			'data_type' => 'datetime',
			'required' => true,
			'default_value' => function() {
				return new MainTypeDateTime();
			},
		),
		'DELETED_BY' => array(
			'data_type' => 'integer',
			'required' => true,
			'default_value' => BitrixDiskSystemUser::SYSTEM_USER_ID,
		),
		'DELETED_BY_USER' => array(
			'data_type' => 'BitrixMainUserTable',
			'reference' => array(
				'=this.DELETED_BY' => 'ref.ID'
			),
		),
		'OPERATION' => array(
			'data_type' => 'string',
		),
	);
}