IblockRight implements RightEntity, Errorable uses ErrorableImplementation
Table of Contents
Interfaces
- RightEntity
- Errorable
Constants
- ACCESS_DENIED = "ACCESS_DENIED"
- EDIT = "canEdit"
- READ = "canRead"
Methods
- __construct() : mixed
- canEdit() : bool
- Checks the edit access to the iblock.
- canRead() : bool
- Checks the read access to the iblock.
- setListsPermission() : mixed
- Sets the access label that is needed to verify the rights of the entity.
Constants
ACCESS_DENIED
public
mixed
ACCESS_DENIED
= "ACCESS_DENIED"
EDIT
public
mixed
EDIT
= "canEdit"
READ
public
mixed
READ
= "canRead"
Methods
__construct()
public
__construct(RightParam $rightParam) : mixed
Parameters
- $rightParam : RightParam
canEdit()
Checks the edit access to the iblock.
public
canEdit() : bool
Return values
boolcanRead()
Checks the read access to the iblock.
public
canRead() : bool
Return values
boolsetListsPermission()
Sets the access label that is needed to verify the rights of the entity.
public
setListsPermission(string $listsPermission) : mixed
Parameters
- $listsPermission : string
-
Access label.