• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/ui/spotlight.php
  • Класс: BitrixMainUISpotlight
  • Вызов: Spotlight::__construct
public function __construct($id)
{
	if (!is_string($id))
	{
		throw new ArgumentTypeException("id", "string");
	}

	$this->id = $id;

	$this->userTimeSpan = 3600 * 24 * 30;
	$this->userType = static::USER_TYPE_OLD;
	$this->lifetime = 3600 * 24 * 30;
}