ViewedGroup::convertKeysToSnakeCaseArguments

  1. Bitrix24 API (v. 23.675.0)
  2. tasks
  3. ViewedGroup
  4. convertKeysToSnakeCaseArguments
  • Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/lib/restview/viewedgroup.php
  • Класс: Bitrix\Tasks\RestView\ViewedGroup
  • Вызов: ViewedGroup::convertKeysToSnakeCaseArguments
public function convertKeysToSnakeCaseArguments($name, $arguments)
{
	$name = mb_strtolower($name);
	
	if($name == 'markasread')
	{
		if(isset($arguments['fields']))
		{
			$fields = $arguments['fields'];
			if(!empty($fields))
				$arguments['fields'] = $this->convertKeysToSnakeCaseFilter($fields);
		}
	}
	else
	{
		parent::convertKeysToSnakeCaseArguments($name, $arguments);
	}

	return $arguments;
}

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