1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
fusercache.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\Sale\Discount\RuntimeCache;
4
5
6
use Bitrix\Main\Event;
7
use Bitrix\Main\EventManager;
8
9
final
class
FuserCache
10
{
12
private
$fuserIds =
array
();
14
private
static
$instance;
15
16
private
function
__construct()
17
{}
18
19
private
function
__clone()
20
{}
21
26
public
static
function
getInstance
()
27
{
28
if
(!isset(self::$instance))
29
{
30
self::$instance =
new
static
;
31
}
32
33
return
self::$instance;
34
}
35
41
public
function
getUserIdById
($fuserId)
42
{
43
if
(!isset($this->fuserIds[$fuserId]))
44
{
45
$this->fuserIds[$fuserId] =
\Bitrix\Sale\Fuser::getUserIdById
($fuserId);
46
}
47
48
return
$this->fuserIds[$fuserId];
49
}
50
55
public
function
clean
()
56
{
57
$this->fuserIds =
array
();
58
}
59
}
Bitrix\Sale\Discount\RuntimeCache\FuserCache
Определения
fusercache.php:10
Bitrix\Sale\Discount\RuntimeCache\FuserCache\getUserIdById
getUserIdById($fuserId)
Определения
fusercache.php:41
Bitrix\Sale\Discount\RuntimeCache\FuserCache\getInstance
static getInstance()
Определения
fusercache.php:26
Bitrix\Sale\Discount\RuntimeCache\FuserCache\clean
clean()
Определения
fusercache.php:55
Bitrix\Sale\Fuser\getUserIdById
static getUserIdById($fuserId)
Определения
fuser.php:177
array
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения
file_new.php:804
bitrix
modules
sale
lib
discount
runtimecache
fusercache.php
Создано системой
1.14.0