Bitrix API

OptionProvider uses Singleton

Table of Contents

Methods

__wakeup()  : mixed
getInstance()  : static
getOption()  : Option|null
getUserOptions()  : array<string|int, mixed>
invalidateCache()  : void

Methods

getInstance()

public static getInstance() : static
Return values
static

getOption()

public getOption(int $userId, Option $option) : Option|null
Parameters
$userId : int
$option : Option
Tags
throws
ArgumentException
throws
ObjectPropertyException
throws
SystemException
Return values
Option|null

getUserOptions()

public getUserOptions(int $userId) : array<string|int, mixed>
Parameters
$userId : int
Tags
throws
ArgumentException
throws
ObjectPropertyException
throws
SystemException
Return values
array<string|int, mixed>

invalidateCache()

public invalidateCache(int $userId) : void
Parameters
$userId : int

        
On this page

Search results