1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
featureperm.php
См. документацию.
1<?php
8namespace Bitrix\Socialnetwork;
9
10use Bitrix\Main\Entity;
11
28class FeaturePermTable extends Entity\DataManager
29{
31 public const PERM_OWNER = 'A';
32
34 public const PERM_MODERATOR = 'E';
35
37 public const PERM_USER = 'K';
38
40 public const PERM_AUTHORIZED = 'L';
41
43 public const PERM_EMPLOYEE = 'J';
44
46 public const PERM_ALL = 'N';
47
48 public static function getTableName()
49 {
50 return 'b_sonet_features2perms';
51 }
52
53 public static function getMap()
54 {
55 $fieldsMap = [
56 'ID' => [
57 'data_type' => 'integer',
58 'primary' => true,
59 'autocomplete' => true,
60 ],
61 'FEATURE_ID' => [
62 'data_type' => 'integer'
63 ],
64 'FEATURE' => array(
65 'data_type' => '\Bitrix\Socialnetwork\Feature',
66 'reference' => [ '=this.FEATURE_ID' => 'ref.ID' ]
67 ),
68 'OPERATION_ID' => [
69 'data_type' => 'string'
70 ],
71 'ROLE' => [
72 'data_type' => 'string'
73 ],
74 ];
75
76 return $fieldsMap;
77 }
78
79}
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804