Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
userfieldpermission.php
1<?php
2
4
6
7class UserFieldPermission extends EO_UserFieldPermission
8{
9 private $parsedAC;
10
11 public function getMemberPrefix()
12 {
13 return $this->getParsedAccessCode()->getEntityPrefix();
14 }
15
16 public function getMemberId()
17 {
18 return $this->getParsedAccessCode()->getEntityId();
19 }
20
21 private function getParsedAccessCode()
22 {
23 if (!$this->parsedAC)
24 {
25 $this->parsedAC = new AccessCode($this->getAccessCode());
26 }
27 return $this->parsedAC;
28 }
29}