• Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/lib/internals/task/template/access.php
  • Класс: BitrixTasksInternalsTaskTemplateAccessTable
  • Вызов: AccessTable::getMap
static function getMap()
{
	return array(
		'ID' => array(
			'data_type' => 'integer',
			'primary' => true,
			'autocomplete' => true,
			'title' => Loc::getMessage('TASK_TEMPLATE_ACCESS_ENTITY_ID_FIELD'),
		),
		'GROUP_CODE' => array(
			'data_type' => 'string',
			'required' => true,
			'validation' => array(__CLASS__, 'validateGroupCode'),
			'title' => Loc::getMessage('TASK_TEMPLATE_ACCESS_ENTITY_GROUP_CODE_FIELD'),
		),
		'ENTITY_ID' => array(
			'data_type' => 'integer',
			'required' => true,
			'title' => Loc::getMessage('TASK_TEMPLATE_ACCESS_ENTITY_ENTITY_ID_FIELD'),
		),
		'TASK_ID' => array(
			'data_type' => 'integer',
			'required' => true,
			'title' => Loc::getMessage('TASK_TEMPLATE_ACCESS_ENTITY_TASK_ID_FIELD'),
		),
	);
}