Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
fuser.php
1
<?php
2
3
namespace
Bitrix\Sale\Discount\Context
;
4
5
use
Bitrix\Sale\Discount\RuntimeCache
;
6
7
class
Fuser
extends
BaseContext
8
{
9
protected
$fuserId
;
10
16
public
function
__construct
(
$fuserId
)
17
{
18
$this->fuserId =
$fuserId
;
19
$this->userId = RuntimeCache\FuserCache::getInstance()->getUserIdById($this->fuserId);
20
$this->
setUserGroups
(\CUser::getUserGroup($this->userId));
21
}
22
}
Bitrix\Sale\Discount\Context\BaseContext
Definition
basecontext.php:7
Bitrix\Sale\Discount\Context\BaseContext\setUserGroups
setUserGroups(array $userGroups)
Definition
basecontext.php:38
Bitrix\Sale\Discount\Context\Fuser
Definition
fuser.php:8
Bitrix\Sale\Discount\Context\Fuser\__construct
__construct($fuserId)
Definition
fuser.php:16
Bitrix\Sale\Discount\Context\Fuser\$fuserId
$fuserId
Definition
fuser.php:9
Bitrix\Sale\Discount\Context
Definition
basecontext.php:2
Bitrix\Sale\Discount\RuntimeCache
Definition
discountcache.php:3
modules
sale
lib
discount
context
fuser.php
Создано системой
1.10.0