• Модуль: disk
  • Путь к файлу: ~/bitrix/modules/disk/lib/internals/right.php
  • Класс: BitrixDiskInternalsRightTable
  • Вызов: RightTable::getMap
static function getMap()
{
	return array(
		'ID' => array(
			'data_type' => 'integer',
			'primary' => true,
			'autocomplete' => true,
		),
		'OBJECT_ID' => array(
			'data_type' => 'integer',
			'required' => true,
		),
		'TASK_ID' => array(
			'data_type' => 'integer',
			'required' => true,
		),
		'ACCESS_CODE' => array(
			'data_type' => 'string',
			'required' => true,
			'validation' => array(__CLASS__, 'validateAccessCode'),
		),
		'DOMAIN' => array(
			'data_type' => 'string',
			'validation' => array(__CLASS__, 'validateDomain'),
		),
		'NEGATIVE' => array(
			'data_type' => 'boolean',
			'values' => array(0, 1),
			'default_value' => 0,
		),
		'OBJECT' => array(
			'data_type' => 'BitrixDiskInternalsObjectTable',
			'reference' => array(
				'=this.OBJECT_ID' => 'ref.ID',
			),
			'join_type' => 'INNER',
		),
		'PATH_PARENT' => array(
			'data_type' => 'BitrixDiskInternalsObjectPathTable',
			'reference' => array(
				'=this.OBJECT_ID' => 'ref.PARENT_ID'
			),
			'join_type' => 'INNER',
		),
		'PATH_CHILD' => array(
			'data_type' => 'BitrixDiskInternalsObjectPathTable',
			'reference' => array(
				'=this.OBJECT_ID' => 'ref.OBJECT_ID'
			),
			'join_type' => 'INNER',
		),
		'TASK_OPERATION' => array(
			'data_type' => 'BitrixMainTaskOperationTable',
			'reference' => array(
				'=this.TASK_ID' => 'ref.TASK_ID'
			),
			'join_type' => 'INNER',
		),
		'USER_ACCESS' => array(
			'data_type' => 'BitrixMainUserAccessTable',
			'reference' => array(
				'=this.ACCESS_CODE' => 'ref.ACCESS_CODE'
			),
		),
	);
}