• Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/lib/internals/task/template/dependence.php
  • Класс: BitrixTasksInternalsTaskTemplateONLY
  • Вызов: ONLY::getMap
static function getMap()
{
	return array_merge(array(
		'TEMPLATE_ID' => array(
			'data_type' => 'integer',
			'primary' => true,
		),
		'PARENT_TEMPLATE_ID' => array(
			'data_type' => 'integer',
			'primary' => true,
		),

		// reference
		'TEMPLATE' => array(
			'data_type' => 'BitrixTasksTemplate',
			'reference' => array(
				'=this.TEMPLATE_ID' => 'ref.ID'
			),
			'join_type' => 'inner'
		),
		'PARENT_TEMPLATE' => array(
			'data_type' => 'BitrixTasksTemplate',
			'reference' => array(
				'=this.PARENT_TEMPLATE_ID' => 'ref.ID'
			),
			'join_type' => 'inner'
		),
	), parent::getMap('BitrixTasksInternalsTaskTemplateDependence'));
}