• Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/lib/copy/integration/groupstepper.php
  • Класс: BitrixTasksCopyIntegrationGroupStepper
  • Вызов: GroupStepper::getOptionData
protected function getOptionData($optionName): array
{
	$option = Option::get(static::$moduleId, $optionName);
	$result = [];
	if ($option !== '')
	{
		$result = unserialize($option, ['allowed_classes' => false]);
		if ($result === false)
		{
			throw new GroupCopyException('Can not unserialize group tasks data');
		}
		$result = is_array($result) ? $result: [];
	}

	return $result;
}