1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
cachetagtable.php
См. документацию.
1<?php
2
9
10namespace Bitrix\Main\Data\Internal;
11
12use Bitrix\Main\ORM\Data;
13use Bitrix\Main\ORM\Fields;
14
32{
33 use Data\Internal\DeleteByFilterTrait;
34
35 public static function getTableName(): string
36 {
37 return 'b_cache_tag';
38 }
39
40 public static function getMap(): array
41 {
42 return [
43 (new Fields\IntegerField('ID'))
44 ->configurePrimary()
45 ->configureSize(8)
46 ->configureAutocomplete(),
47
48 (new Fields\StringField('SITE_ID'))
49 ->configureRequired()
50 ->configureSize(2),
51
52 (new Fields\StringField('CACHE_SALT'))
53 ->configureRequired()
54 ->configureSize(4),
55
56 (new Fields\StringField('RELATIVE_PATH'))
57 ->configureRequired()
58 ->configureSize(255),
59
60 (new Fields\StringField('TAG'))
61 ->configureRequired()
62 ->configureSize(100),
63 ];
64 }
65
66 public static function cleanTable(): void
67 {
68 \Bitrix\Main\Application::getConnection()->query('TRUNCATE TABLE ' . static::getTableName());
69 }
70
71 public static function isCacheable(): bool
72 {
73 return false;
74 }
75}
static getConnection($name="")
Определения application.php:638
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804