• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/classes/general/component_util.php
  • Класс: CComponentUtil
  • Вызов: CComponentUtil::CheckComponentName
static function CheckComponentName($name, $arFilter)
{
	foreach ($arFilter as $pattern)
		if (preg_match($pattern, $name))
			return true;
	return false;
}