• Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/lib/internals/task/sorting.php
  • Класс: BitrixTasksInternalsTaskSortingTable
  • Вызов: SortingTable::getMap
static function getMap()
{
	return array(
		"ID" => array(
			"data_type" => "integer",
			"primary" => true,
			"autocomplete" => true,
		),

		"TASK_ID" => array(
			"data_type" => "integer",
			"required" => true,
			"title" => Loc::getMessage("TASKS_TASK_SORTING_ENTITY_TASK_ID_FIELD"),
		),

		"SORT" => array(
			"data_type" => "float",
			"required" => true,
			"title" => Loc::getMessage("TASKS_TASK_SORTING_ENTITY_INDEX_FIELD"),
		),

		"USER_ID" => array(
			"data_type" => "integer",
			"default_value" => 0,
			"title" => Loc::getMessage("TASKS_TASK_SORTING_ENTITY_USER_ID_FIELD"),
		),

		"GROUP_ID" => array(
			"data_type" => "integer",
			"default_value" => 0,
			"title" => Loc::getMessage("TASKS_TASK_SORTING_ENTITY_GROUP_ID_FIELD"),
		),

		"PREV_TASK_ID" => array(
			"data_type" => "integer",
			"default_value" => 0,
			"title" => Loc::getMessage("TASKS_TASK_SORTING_ENTITY_PREV_TASK_ID_FIELD"),
		),

		"NEXT_TASK_ID" => array(
			"data_type" => "integer",
			"default_value" => 0,
			"title" => Loc::getMessage("TASKS_TASK_SORTING_ENTITY_NEXT_TASK_ID_FIELD"),
		),
	);
}