Bitrix API

CrmEntitySelection extends EntitySelection

Table of Contents

Methods

__construct()  : mixed
buildModels()  : array<string|int, EntityDTO>
create()  : static|null
getGroupCode()  : string|null
getMenuId()  : string|null
getSliderBackUrl()  : Uri|null
getUrl()  : Uri|null
hasPermissionsToEditRights()  : bool
isAvailableTool()  : bool
isSuitableCategoryId()  : bool
isSuitableEntity()  : bool
needShowRoleWithoutRights()  : bool
preSaveChecks()  : Result
printInaccessibilityContent()  : void
prohibitToSaveRoleWithoutAtLeastOneRight()  : bool

Methods

__construct()

public __construct(int $entityTypeId[, int|null $categoryId = null ]) : mixed
Parameters
$entityTypeId : int
$categoryId : int|null = null

getGroupCode()

public getGroupCode() : string|null
Return values
string|null

getMenuId()

public getMenuId() : string|null
Return values
string|null

hasPermissionsToEditRights()

public hasPermissionsToEditRights() : bool
Return values
bool

isSuitableCategoryId()

public static isSuitableCategoryId(Factory $factory[, int|null $categoryId = null ]) : bool
Parameters
$factory : Factory
$categoryId : int|null = null
Return values
bool

isSuitableEntity()

public static isSuitableEntity(int $entityTypeId[, int|null $categoryId = null ]) : bool
Parameters
$entityTypeId : int
$categoryId : int|null = null
Return values
bool

needShowRoleWithoutRights()

public needShowRoleWithoutRights() : bool
Return values
bool

preSaveChecks()

public preSaveChecks(array<string|int, mixed> $userGroups) : Result
Parameters
$userGroups : array<string|int, mixed>
Return values
Result

prohibitToSaveRoleWithoutAtLeastOneRight()

public prohibitToSaveRoleWithoutAtLeastOneRight() : bool
Return values
bool

        
On this page

Search results