• Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/lib/util/assert.php
  • Класс: BitrixTasksUtilAssert
  • Вызов: Assert::formMessage
static function formMessage($msgCode, $argName = '', $customMsg = '')
{
	if($customMsg <> '')
	{
		return str_replace('#ARG_NAME#', $argName, $customMsg);
	}

	return Loc::getMessage($msgCode, array('#ARG_NAME#' => $argName <> ''? ' "'.$argName.'" ' : ' '));
}