Bitrix API

SectionRight implements RightEntity, Errorable uses ErrorableImplementation

Table of Contents

Interfaces

RightEntity
Errorable

Constants

ACCESS_DENIED  = "ACCESS_DENIED"
ADD  = "canAdd"
DELETE  = "canDelete"
EDIT  = "canEdit"
READ  = "canRead"

Methods

__construct()  : mixed
canAdd()  : bool
Checks the add access to the section.
canDelete()  : bool
Checks the delete access to the section.
canEdit()  : bool
Checks the edit access to the section.
canRead()  : bool
Checks the read access to the section.
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 section.

public canAdd() : bool
Return values
bool

canDelete()

Checks the delete access to the section.

public canDelete() : bool
Return values
bool

canEdit()

Checks the edit access to the section.

public canEdit() : bool
Return values
bool

canRead()

Checks the read access to the section.

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