TemplateFieldHandler::prepareMembers

  1. Bitrix24 API (v. 23.675.0)
  2. tasks
  3. TemplateFieldHandler
  4. prepareMembers
  • Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/lib/control/handler/templatefieldhandler.php
  • Класс: BitrixTasksControlHandlerTemplateFieldHandler
  • Вызов: TemplateFieldHandler::prepareMembers
public function prepareMembers(): self
{
	if (
		array_key_exists('ACCOMPLICES', $this->fields)
		&& is_string($this->fields['ACCOMPLICES'])
	)
	{
		$this->fields['ACCOMPLICES'] = unserialize($this->fields['ACCOMPLICES'], ['allowed_classes' => false]);
	}

	if (
		array_key_exists('AUDITORS', $this->fields)
		&& is_string($this->fields['AUDITORS'])
	)
	{
		$this->fields['AUDITORS'] = unserialize($this->fields['AUDITORS'], ['allowed_classes' => false]);
	}

	return $this;
}

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