См. определение в файле fuser.php строка 17
◆ __construct()
◆ clearCookie()
◆ clearSession()
◆ deleteOld()
Delete fuserId over several days.
- Аргументы
-
- Возвращает
- void
См. определение в файле fuser.php строка 205
◆ generateCode()
◆ getCode()
- Возвращает
- int
См. определение в файле fuser.php строка 97
◆ getFilterFromCookie()
| getFilterFromCookie |
( |
?string | $cookie | ) |
|
|
staticprotected |
◆ getId()
| getId |
( |
| $skipCreate = false | ) |
|
|
static |
Returns fuser Id.
- Аргументы
-
| bool | $skipCreate | Create, if not exist. |
- Возвращает
- int|null
См. определение в файле fuser.php строка 33
◆ getIdByCurrentUser()
◆ getIdByFilter()
| getIdByFilter |
( |
array | $filter | ) |
|
|
staticprotected |
◆ getIdByUserId()
Return fuserId for user.
- Аргументы
-
- Возвращает
- false|int
См. определение в файле fuser.php строка 151
◆ getIdFromCookie()
◆ getIdFromSession()
◆ getUserIdById()
| getUserIdById |
( |
| $fuserId | ) |
|
|
static |
Return user by fuserId.
- Аргументы
-
- Возвращает
- int
- Исключения
-
ArgumentException
См. определение в файле fuser.php строка 177
◆ handlerOnUserLogin()
| handlerOnUserLogin |
( |
| $userId, |
|
|
array | $params ) |
|
static |
◆ handlerOnUserLogout()
| handlerOnUserLogout |
( |
| $userId | ) |
|
|
static |
◆ isEncodeCookie()
◆ isSaveAnonymousUserCookie()
| isSaveAnonymousUserCookie |
( |
| ) |
|
|
staticprotected |
◆ isSecureCookie()
◆ refreshSessionCurrentId()
| refreshSessionCurrentId |
( |
| ) |
|
|
static |
◆ save()
| save |
( |
?int | $id, |
|
|
array | $fields ) |
|
staticprotected |
◆ setIdToCookie()
| setIdToCookie |
( |
string | $id | ) |
|
|
staticprotected |
◆ setIdToSession()
| setIdToSession |
( |
int | $id | ) |
|
|
staticprotected |
◆ COOKIE_USER_ID
| const COOKIE_USER_ID = 'SALE_UID' |
|
protected |
◆ SESSION_USER_ID
| const SESSION_USER_ID = 'SALE_USER_ID' |
|
protected |
Объявления и описания членов класса находятся в файле: