• Модуль: fileman
  • Путь к файлу: ~/bitrix/modules/fileman/classes/general/light_editor.php
  • Класс: CLightHTMLEditor
  • Вызов: CLightHTMLEditor::InitScripts
function InitScripts()
{
	ob_start();
	foreach(GetModuleEvents("fileman", "OnIncludeLightEditorScript", true) as $arEvent)
		ExecuteModuleEventEx($arEvent, array($this->Id));
	$scripts = trim(ob_get_contents());
	ob_end_clean();

	$scripts = str_replace("", "", $scripts);

	$loadScript = "";
	foreach ($this->arJSPath as $path)
	{
		if ($loadScript != "")
		{
			$loadScript .= ", ";
		}
		$loadScript .= """.$this->GetActualPath($path).""";
	}
	?>