• Модуль: calendar
  • Путь к файлу: ~/bitrix/modules/calendar/classes/general/calendar.php
  • Класс: CCalendar
  • Вызов: CCalendar::IsPersonal
static function IsPersonal($type = false, $ownerId = false, $userId = false)
{
	if (!$type)
	{
		$type = self::$type;
	}
	if(!$ownerId)
	{
		$ownerId = self::$ownerId;
	}
	if(!$userId)
	{
		$userId = self::$userId;
	}

	return $type === 'user' && $ownerId == $userId;
}