CCrmComponentHelper::RegisterScriptLink

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. CCrmComponentHelper
  4. RegisterScriptLink
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/classes/general/crm_component_helper.php
  • Класс: \CCrmComponentHelper
  • Вызов: CCrmComponentHelper::RegisterScriptLink
static function RegisterScriptLink($url)
{
	$url = trim(mb_strtolower(strval($url)));
	if($url === '')
	{
		return false;
	}
	$GLOBALS['APPLICATION']->AddHeadScript($url);
	return true;
}

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