IblockCatalogPermissions
The object for applying the rights of the catalog to the rights of the iblocks.
Tags
Table of Contents
Methods
- __construct() : mixed
- getAccessCodes() : array<string|int, mixed>
- Actual access codes.
- getCanFullAccess() : bool
- Can full access to iblock.
- getCanRead() : bool
- Can read access to iblock.
- getCanWrite() : bool
- Can write access to iblock.
- getDeleteAccessCodes() : array<string|int, mixed>
- Deleted access codes.
- setRights() : void
- Set catalog rights.
Methods
__construct()
public
__construct(array<string|int, mixed> $accessCodes[, array<string|int, mixed> $deleteAccessCodes = [] ]) : mixed
Parameters
- $accessCodes : array<string|int, mixed>
- $deleteAccessCodes : array<string|int, mixed> = []
getAccessCodes()
Actual access codes.
public
getAccessCodes() : array<string|int, mixed>
Return values
array<string|int, mixed>getCanFullAccess()
Can full access to iblock.
public
getCanFullAccess() : bool
Return values
boolgetCanRead()
Can read access to iblock.
public
getCanRead() : bool
Return values
boolgetCanWrite()
Can write access to iblock.
public
getCanWrite() : bool
Return values
boolgetDeleteAccessCodes()
Deleted access codes.
public
getDeleteAccessCodes() : array<string|int, mixed>
Return values
array<string|int, mixed>setRights()
Set catalog rights.
public
setRights(array<string|int, mixed> $rights) : void
Parameters
- $rights : array<string|int, mixed>
-
in format
[['id' => 'permissionId', 'value' => '...'], ...]