/** * Function includes class of the component by component name bitrix:component.base * * @param string $componentName * @return string * */ final public static function includeComponentClass($componentName) { $component = new CBitrixComponent; $component->initComponent($componentName); }