1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс CAccess

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

 __construct ($arParams=false)
 GetFormHtml ()
 AjaxRequest ($arParams)
 GetNames ($arCodes, $bSort=false)
 GetProviderNames ()

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

static AddCode ($userId, $provider, $code)
static RemoveCode ($userId, $provider, $code)
static ClearCache ($userId)
static RecalculateForUser ($userId, $provider, DateTime $dateCheck=null)
static RecalculateForProvider ($provider)
static GetUserCodes ($USER_ID, $arFilter=[], bool $updateCodes=true)
static GetUserCodesArray ($USER_ID, $arFilter=[])
static CmpNames ($a, $b)
static GetProviders ()
static OnUserDelete ($USER_ID)
static SaveLastRecentlyUsed ($arLRU)
static GetLastRecentlyUsed ($provider)
static deleteDuplicatesAgent (int $lastId=0)

Поля данных

const CHECK_CACHE_DIR = "access_check"
const CACHE_DIR = "access_codes"

Защищенные статические члены

static NeedToRecalculate ($provider, $USER_ID, DateTime $now)
static GetCheckCacheId ($provider, $userId)
static GetCodesCacheId ($userId)
static DeleteCodes ($providerId, $userId)
static UpdateStat ($provider, $userId, DateTime $now)
static ClearCheckCache ($provider, $userId)

Защищенные данные

 $arParams = false

Статические защищенные данные

static $arAuthProviders = []
static $arChecked = []
static $userCodes = []

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

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

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

◆ __construct()

__construct ( $arParams = false)

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

Методы

◆ AddCode()

AddCode ( $userId,
$provider,
$code )
static
Аргументы
int$userId
string$provider
string$code

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

◆ AjaxRequest()

AjaxRequest ( $arParams)

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

◆ ClearCache()

ClearCache ( $userId)
static
Аргументы
int$userIdUser ID.

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

◆ ClearCheckCache()

ClearCheckCache ( $provider,
$userId )
staticprotected

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

◆ CmpNames()

CmpNames ( $a,
$b )
static

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

◆ DeleteCodes()

DeleteCodes ( $providerId,
$userId )
staticprotected

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

◆ deleteDuplicatesAgent()

deleteDuplicatesAgent ( int $lastId = 0)
static

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

◆ GetCheckCacheId()

GetCheckCacheId ( $provider,
$userId )
staticprotected

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

◆ GetCodesCacheId()

GetCodesCacheId ( $userId)
staticprotected

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

◆ GetFormHtml()

GetFormHtml ( )

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

◆ GetLastRecentlyUsed()

GetLastRecentlyUsed ( $provider)
static

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

◆ GetNames()

GetNames ( $arCodes,
$bSort = false )

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

◆ GetProviderNames()

GetProviderNames ( )

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

◆ GetProviders()

GetProviders ( )
static

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

◆ GetUserCodes()

GetUserCodes ( $USER_ID,
$arFilter = [],
bool $updateCodes = true )
static

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

◆ GetUserCodesArray()

GetUserCodesArray ( $USER_ID,
$arFilter = [] )
static

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

◆ NeedToRecalculate()

NeedToRecalculate ( $provider,
$USER_ID,
DateTime $now )
staticprotected

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

◆ OnUserDelete()

OnUserDelete ( $USER_ID)
static

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

◆ RecalculateForProvider()

RecalculateForProvider ( $provider)
static

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

◆ RecalculateForUser()

RecalculateForUser ( $userId,
$provider,
DateTime $dateCheck = null )
static

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

◆ RemoveCode()

RemoveCode ( $userId,
$provider,
$code )
static
Аргументы
int$userId
string$provider
string$code

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

◆ SaveLastRecentlyUsed()

SaveLastRecentlyUsed ( $arLRU)
static

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

◆ UpdateStat()

UpdateStat ( $provider,
$userId,
DateTime $now )
staticprotected

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

Поля

◆ $arAuthProviders

$arAuthProviders = []
staticprotected

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

◆ $arChecked

$arChecked = []
staticprotected

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

◆ $arParams

$arParams = false
protected

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

◆ $userCodes

$userCodes = []
staticprotected

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

◆ CACHE_DIR

const CACHE_DIR = "access_codes"

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

◆ CHECK_CACHE_DIR

const CHECK_CACHE_DIR = "access_check"

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


Объявления и описания членов класса находятся в файле:
  • C:/bitrix/modules/main/classes/general/access.php