Bitrix API

ElementRight implements RightEntity, Errorable uses ErrorableImplementation

Table of Contents

Interfaces

RightEntity
Errorable

Constants

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

Methods

__construct()  : mixed
canAdd()  : bool
Checks the add access to the element.
canDelete()  : bool
Checks the delete access to the element.
canEdit()  : bool
Checks the edit access to the element.
canEditRights()  : mixed
Checks the edit rights access to the element
canFullEdit()  : bool
Checks the full edit access to the element.
canRead()  : bool
Checks the read access to the element.
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"

Methods

canAdd()

Checks the add access to the element.

public canAdd() : bool
Return values
bool

canDelete()

Checks the delete access to the element.

public canDelete() : bool
Return values
bool

canEdit()

Checks the edit access to the element.

public canEdit() : bool
Return values
bool

canEditRights()

Checks the edit rights access to the element

public canEditRights() : mixed

canFullEdit()

Checks the full edit access to the element.

public canFullEdit() : bool
Return values
bool

canRead()

Checks the read access to the element.

public canRead() : bool
Return values
bool

setListsPermission()

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

public setListsPermission(string $listsPermission) : mixed
Parameters
$listsPermission : string

Access label.


        
On this page

Search results