1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
CollabAccessController.php
См. документацию.
1<?php
2
3declare(strict_types=1);
4
6
13
15{
16 protected static array $cache = [];
17
22
24 {
25 return CollabDictionary::getInstance();
26 }
27
28 protected function loadItem(int $itemId = null): ?AccessibleItem
29 {
30 $itemId = (int)$itemId;
31 if ($itemId === 0)
32 {
33 return new CollabModel();
34 }
35
36 $key = 'COLLAB_' . $itemId;
37 if (!isset(static::$cache[$key]))
38 {
39 static::$cache[$key] = CollabModel::createFromId($itemId);
40 }
41
42 return static::$cache[$key];
43 }
44}
$data['IS_AVAILABLE']
Определения .description.php:13
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804
static createFromId(int $itemId)
if(empty($signedUserToken)) $key
Определения quickway.php:257