RunTimeOperation::call

  1. Bitrix24 API (v. 23.675.0)
  2. tasks
  3. RunTimeOperation
  4. call
  • Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/lib/dispatcher/runtimeoperation.php
  • Класс: BitrixTasksDispatcherRunTimeOperation
  • Вызов: RunTimeOperation::call
public function call()
{
	$opResult = call_user_func_array($this->callable, $this->operation['ARGUMENTS']);

	if($opResult instanceof Result)
	{
		// also get errors from result, in case of object
		$this->errors->load($opResult->getErrors());
		return $opResult->getData();
	}
	else
	{
		return $opResult;
	}
}

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