Task::prepareFields

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

	$handler
		->prepareGuid()
		->prepareSiteId()
		->prepareGroupId()
		->prepareCreatedBy()
		->prepareTitle()
		->prepareDescription()
		->prepareStatus()
		->preparePriority()
		->prepareMark()
		->prepareFlags()
		->prepareParents()
		->prepareMembers()
		->prepareDependencies()
		->prepareOutlook()
		->prepareTags()
		->prepareChangedBy()
		->prepareDates()
		->prepareId()
		->prepareIntegration();

	return $handler->getFields();
}

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