1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс Spotlight
Граф наследования:Spotlight:
Tour UiTour

Открытые члены

 __construct ($id)
 isAvailable ($userId=false)
 getActivationDate ()
 activate ($activationDate=false)
 deactivate ()
 isViewed ($userId)
 getViewDate ($userId)
 setViewDate ($userId, $date=false)
 unsetViewDate ($userId)
 getId ()
 getUserType ()
 setUserType ($userType)
 getUserTimeSpan ()
 setUserTimeSpan ($userTimeSpan)
 getLifetime ()
 setLifetime ($lifetime)
 getStartDate ()
 setStartDate ($startDate)
 getEndDate ()
 setEndDate ($endDate)

Открытые статические члены

static getUserTypes ()

Поля данных

const USER_TYPE_OLD = "OLD"
const USER_TYPE_NEW = "NEW"
const USER_TYPE_ALL = "ALL"
const CATEGORY_NAME = "spotlight"

Подробное описание

См. определение в файле spotlight.php строка 9

Конструктор(ы)

◆ __construct()

__construct ( $id)

Spotlight constructor.

Аргументы
string$idUnique identifier
Исключения
ArgumentTypeException

См. определение в файле spotlight.php строка 31

Методы

◆ activate()

activate ( $activationDate = false)

См. определение в файле spotlight.php строка 114

◆ deactivate()

deactivate ( )

См. определение в файле spotlight.php строка 122

◆ getActivationDate()

getActivationDate ( )

См. определение в файле spotlight.php строка 103

◆ getEndDate()

getEndDate ( )
Возвращает
int|null

См. определение в файле spotlight.php строка 292

◆ getId()

getId ( )
Возвращает
string

См. определение в файле spotlight.php строка 187

◆ getLifetime()

getLifetime ( )
Возвращает
int

См. определение в файле spotlight.php строка 254

◆ getStartDate()

getStartDate ( )
Возвращает
int|null

См. определение в файле spotlight.php строка 273

◆ getUserTimeSpan()

getUserTimeSpan ( )
Возвращает
int

См. определение в файле spotlight.php строка 235

◆ getUserType()

getUserType ( )
Возвращает
string

См. определение в файле spotlight.php строка 195

◆ getUserTypes()

getUserTypes ( )
static

См. определение в файле spotlight.php строка 211

◆ getViewDate()

getViewDate ( $userId)

См. определение в файле spotlight.php строка 132

◆ isAvailable()

isAvailable ( $userId = false)
Аргументы
bool$userId
Возвращает
bool

См. определение в файле spotlight.php строка 50

◆ isViewed()

isViewed ( $userId)

См. определение в файле spotlight.php строка 127

◆ setEndDate()

setEndDate ( $endDate)
Аргументы
int | null$endDate

См. определение в файле spotlight.php строка 300

◆ setLifetime()

setLifetime ( $lifetime)
Аргументы
int$lifetime

См. определение в файле spotlight.php строка 262

◆ setStartDate()

setStartDate ( $startDate)
Аргументы
int | null$startDate

См. определение в файле spotlight.php строка 281

◆ setUserTimeSpan()

setUserTimeSpan ( $userTimeSpan)
Аргументы
int$userTimeSpan

См. определение в файле spotlight.php строка 243

◆ setUserType()

setUserType ( $userType)
Аргументы
string$userType

См. определение в файле spotlight.php строка 203

◆ setViewDate()

setViewDate ( $userId,
$date = false )

См. определение в файле spotlight.php строка 139

◆ unsetViewDate()

unsetViewDate ( $userId)

См. определение в файле spotlight.php строка 148

Поля

◆ CATEGORY_NAME

const CATEGORY_NAME = "spotlight"

См. определение в файле spotlight.php строка 15

◆ USER_TYPE_ALL

const USER_TYPE_ALL = "ALL"

См. определение в файле spotlight.php строка 13

◆ USER_TYPE_NEW

const USER_TYPE_NEW = "NEW"

См. определение в файле spotlight.php строка 12

◆ USER_TYPE_OLD

const USER_TYPE_OLD = "OLD"

См. определение в файле spotlight.php строка 11


Объявления и описания членов класса находятся в файле: