• Модуль: socialnetwork
  • Путь к файлу: ~/bitrix/modules/socialnetwork/classes/mysql/event_user_view.php
  • Класс: CSocNetEventUserView
  • Вызов: CSocNetEventUserView::Add
static function Add($arFields)
{
	global $DB;

	if (!CSocNetEventUserView::CheckFields("ADD", $arFields))
		return false;

	$arInsert = $DB->PrepareInsert("b_sonet_event_user_view", $arFields);

	if ($arInsert[0] <> '')
	{
		$strSql =
			"INSERT INTO b_sonet_event_user_view(".$arInsert[0].") ".
			"VALUES(".$arInsert[1].")";
		$DB->Query($strSql, False, "File: ".__FILE__."
Line: ".__LINE__); } return true; }