1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
global_counter.php
См. документацию.
1<?
3{
4 const ALL_SITES = '**';
5
6 public static function GetValue($code, $site_id = SITE_ID)
7 {
8 return CUserCounter::GetValue(CUserCounter::SYSTEM_USER_ID, $code, $site_id);
9 }
10
11 public static function GetValues($site_id = SITE_ID, &$arLastDate = array())
12 {
13 return CUserCounter::GetValues(CUserCounter::SYSTEM_USER_ID, $site_id, $arLastDate);
14 }
15
16 public static function GetAllValues()
17 {
18 return CUserCounter::GetAllValues(CUserCounter::SYSTEM_USER_ID);
19 }
20
21 public static function GetLastDate($code, $site_id = SITE_ID)
22 {
23 return CUserCounter::GetLastDate(CUserCounter::SYSTEM_USER_ID, $code, $site_id);
24 }
25
26 public static function Set($code, $value, $site_id = SITE_ID, $tag = '', $sendPull = true)
27 {
28 return CUserCounter::Set(CUserCounter::SYSTEM_USER_ID, $code, $value, $site_id, $tag, $sendPull);
29 }
30
31 public static function Increment($code, $site_id = SITE_ID, $sendPull = true, $increment = 1)
32 {
33 return CUserCounter::Increment(CUserCounter::SYSTEM_USER_ID, $code, $site_id, $sendPull, $increment);
34 }
35
36 public static function Decrement($code, $site_id = SITE_ID, $sendPull = true, $decrement = 1)
37 {
38 return CUserCounter::Decrement(CUserCounter::SYSTEM_USER_ID, $code, $site_id, $sendPull, $decrement);
39 }
40
41 public static function IncrementWithSelect($sub_select, $sendPull = true, $arParams = array())
42 {
43 CUserCounter::IncrementWithSelect($sub_select, $sendPull, $arParams);
44 }
45
46 public static function Clear($code, $site_id = SITE_ID, $sendPull = true)
47 {
48 return CUserCounter::Clear(CUserCounter::SYSTEM_USER_ID, $code, $site_id, $sendPull);
49 }
50
51 public static function ClearAll($site_id = SITE_ID, $sendPull = true)
52 {
53 return CUserCounter::ClearAll(CUserCounter::SYSTEM_USER_ID, $site_id, $sendPull);
54 }
55
56 public static function ClearByTag($tag, $code, $site_id = SITE_ID, $sendPull = true)
57 {
58 return CUserCounter::ClearByTag($tag, $code, $site_id, $sendPull);
59 }
60}
61?>
$arParams
Определения access_dialog.php:21
Определения global_counter.php:3
static Set($code, $value, $site_id=SITE_ID, $tag='', $sendPull=true)
Определения global_counter.php:26
const ALL_SITES
Определения global_counter.php:4
static GetAllValues()
Определения global_counter.php:16
static GetValue($code, $site_id=SITE_ID)
Определения global_counter.php:6
static Increment($code, $site_id=SITE_ID, $sendPull=true, $increment=1)
Определения global_counter.php:31
static IncrementWithSelect($sub_select, $sendPull=true, $arParams=array())
Определения global_counter.php:41
static ClearAll($site_id=SITE_ID, $sendPull=true)
Определения global_counter.php:51
static Clear($code, $site_id=SITE_ID, $sendPull=true)
Определения global_counter.php:46
static Decrement($code, $site_id=SITE_ID, $sendPull=true, $decrement=1)
Определения global_counter.php:36
static GetValues($site_id=SITE_ID, &$arLastDate=array())
Определения global_counter.php:11
static ClearByTag($tag, $code, $site_id=SITE_ID, $sendPull=true)
Определения global_counter.php:56
static GetLastDate($code, $site_id=SITE_ID)
Определения global_counter.php:21
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804
if(!is_null($config))($config as $configItem)(! $configItem->isVisible()) $code
Определения options.php:195
$site_id
Определения sonet_set_content_view.php:9
const SITE_ID
Определения sonet_set_content_view.php:12