• Модуль: intranet
  • Путь к файлу: ~/bitrix/modules/intranet/classes/general/handlers.php
  • Класс: CIntranetEventHandlers
  • Вызов: CIntranetEventHandlers::OnFillSocNetAllowedSubscribeEntityTypes
static function OnFillSocNetAllowedSubscribeEntityTypes(&$arSocNetAllowedSubscribeEntityTypes)
{
	define("SONET_SUBSCRIBE_ENTITY_NEWS", "N");
	$arSocNetAllowedSubscribeEntityTypes[] = SONET_SUBSCRIBE_ENTITY_NEWS;

	global $arSocNetAllowedSubscribeEntityTypesDesc;
	$arSocNetAllowedSubscribeEntityTypesDesc[SONET_SUBSCRIBE_ENTITY_NEWS] = array(
		"TITLE_LIST" => GetMessage("INTR_SOCNET_LOG_LIST_N_ALL"),
		"TITLE_ENTITY" => GetMessage("INTR_SOCNET_LOG_N"),
		"TITLE_ENTITY_XDI" => GetMessage("INTR_SOCNET_LOG_XDI_N"),
		"CLASS_DESC" => "",
		"METHOD_DESC" => "",
		"CLASS_DESC_GET" => "CIntranetUtils",
		"METHOD_DESC_GET" => "GetIBlockByID",
		"CLASS_DESC_SHOW" => "CIntranetUtils",
		"METHOD_DESC_SHOW" => "ShowIBlockByID",
		"XDIMPORT_ALLOWED" => "Y"
	);
}