• Модуль: bizproc
  • Путь к файлу: ~/bitrix/modules/bizproc/lib/basetype/base.php
  • Класс: BitrixBizprocBaseTypeBase
  • Вызов: Base::addFormat
static function addFormat($name, array $options)
{
	$name = mb_strtolower($name);
	if (empty($options['callable']))
	{
		throw new MainArgumentException('Callable property in format options is not set.');
	}

	static::$formats[$name] = $options;
}