Template::prepareFields

  1. Bitrix24 API (v. 23.675.0)
  2. tasks
  3. Template
  4. prepareFields
  • Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/lib/control/template.php
  • Класс: BitrixTasksControlTemplate
  • Вызов: Template::prepareFields
private function prepareFields(array $fields): array
{
	$templateData = $this->getTemplateData() ?? [];
	$handler = new TemplateFieldHandler($this->userId, $fields, $templateData);

	$handler
		->prepareResponsible()
		->prepareMultitask()
		->prepareBBCodes()
		->prepareType()
		->prepareMembers()
		->prepareTitle()
		->prepareReplication()
		->prepareBaseTemplate()
		->prepareParentId()
		->preparePriority()
		->prepareSiteId()
		->prepareTags()
		->prepareDependencies()
		->prepareDescription();

	return $handler->getFields();
}

Добавить комментарий