Access::__call

  1. Bitrix24 API (v. 23.675.0)
  2. tasks
  3. Access
  4. __call
  • Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/lib/item/context/access.php
  • Класс: Bitrix\Tasks\Item\Context\Access
  • Вызов: Access::__call
public function __call($name, array $arguments)
{
	$name = trim((string) $name);

	if(strpos($name, 'can') === 0)
	{
		return new Result(); // unknown action, like "walk on ears" will be allowed
	}
	else
	{
		throw new NotImplementedException('Call to unknown method '.$name);
	}
}

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