1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс ElementRight
Граф наследования:ElementRight:
RightEntity Errorable

Открытые члены

 __construct (RightParam $rightParam)
 setListsPermission ($listsPermission)
 canRead ()
 canEdit ()
 canAdd ()
 canDelete ()
 canFullEdit ()
 canEditRights ()
Открытые члены унаследованные от Errorable
 getErrors ()
 getErrorByCode ($code)

Поля данных

const ACCESS_DENIED = "ACCESS_DENIED"
const ADD = "canAdd"
const READ = "canRead"
const EDIT = "canEdit"
const DELETE = "canDelete"
const FULL_EDIT = "canFullEdit"
const EDIT_RIGHTS = 'canEditRights'

Подробное описание

См. определение в файле elementright.php строка 10

Конструктор(ы)

◆ __construct()

__construct ( RightParam $rightParam)

См. определение в файле elementright.php строка 27

Методы

◆ canAdd()

canAdd ( )

Checks the add access to the element.

Возвращает
bool

См. определение в файле elementright.php строка 118

◆ canDelete()

canDelete ( )

Checks the delete access to the element.

Возвращает
bool

См. определение в файле elementright.php строка 149

◆ canEdit()

canEdit ( )

Checks the edit access to the element.

Возвращает
bool

См. определение в файле elementright.php строка 79

◆ canEditRights()

canEditRights ( )

Checks the edit rights access to the element

См. определение в файле elementright.php строка 204

◆ canFullEdit()

canFullEdit ( )

Checks the full edit access to the element.

Возвращает
bool

См. определение в файле elementright.php строка 178

◆ canRead()

canRead ( )

Checks the read access to the element.

Возвращает
bool

См. определение в файле elementright.php строка 51

◆ setListsPermission()

setListsPermission ( $listsPermission)

Sets the access label that is needed to verify the rights of the entity.

Аргументы
string$listsPermissionAccess label.

Замещает RightEntity.

См. определение в файле elementright.php строка 41

Поля

◆ ACCESS_DENIED

const ACCESS_DENIED = "ACCESS_DENIED"

См. определение в файле elementright.php строка 14

◆ ADD

const ADD = "canAdd"

См. определение в файле elementright.php строка 16

◆ DELETE

const DELETE = "canDelete"

См. определение в файле elementright.php строка 19

◆ EDIT

const EDIT = "canEdit"

См. определение в файле elementright.php строка 18

◆ EDIT_RIGHTS

const EDIT_RIGHTS = 'canEditRights'

См. определение в файле elementright.php строка 21

◆ FULL_EDIT

const FULL_EDIT = "canFullEdit"

См. определение в файле elementright.php строка 20

◆ READ

const READ = "canRead"

См. определение в файле elementright.php строка 17


Объявления и описания членов класса находятся в файле: