• Модуль: socialnetwork
  • Путь к файлу: ~/bitrix/modules/socialnetwork/classes/general/functions.php
  • Класс: CSocNetAllowed
  • Вызов: CSocNetAllowed::runEventForAllowedLogEvent
static function runEventForAllowedLogEvent()
{
	$newAllowedLogEvent = array();

	$events = GetModuleEvents("socialnetwork", "OnFillSocNetLogEvents");
	while ($arEvent = $events->Fetch())
	{
		ExecuteModuleEventEx($arEvent, array(&$newAllowedLogEvent));
	}

	foreach($newAllowedLogEvent as $strEventCode => $arLogEvent)
	{
		self::addAllowedLogEvent($strEventCode, $arLogEvent);
	}
}