CustomSectionSelection implements RoleSelectionManager
FinalYes
Table of Contents
Interfaces
Constants
- GROUP_CODE_PREFIX = 'AUTOMATED_SOLUTION_'
Methods
- __construct() : mixed
- buildModels() : array<string|int, EntityDTO>
- create() : self|null
- getControllerData() : array<string|int, mixed>
- getGroupCode() : string|null
- getMenuId() : string|null
- getSliderBackUrl() : Uri|null
- getTitle() : string
- getUrl() : Uri|null
- hasPermissionsToEditRights() : bool
- isAvailableTool() : bool
- needShowRoleWithoutRights() : bool
- preSaveChecks() : Result
- printInaccessibilityContent() : void
- prohibitToSaveRoleWithoutAtLeastOneRight() : bool
Constants
GROUP_CODE_PREFIX
public
mixed
GROUP_CODE_PREFIX
= 'AUTOMATED_SOLUTION_'
Methods
__construct()
public
__construct(CustomSection $customSection) : mixed
Parameters
- $customSection : CustomSection
buildModels()
public
buildModels() : array<string|int, EntityDTO>
Return values
array<string|int, EntityDTO>create()
public
static create(CreateSettingsDto|null $settingsDto) : self|null
Parameters
- $settingsDto : CreateSettingsDto|null
Return values
self|nullgetControllerData()
public
getControllerData() : array<string|int, mixed>
Return values
array<string|int, mixed>getGroupCode()
public
getGroupCode() : string|null
Return values
string|nullgetMenuId()
public
getMenuId() : string|null
Return values
string|nullgetSliderBackUrl()
public
getSliderBackUrl() : Uri|null
Return values
Uri|nullgetTitle()
public
getTitle() : string
Return values
stringgetUrl()
public
getUrl() : Uri|null
Return values
Uri|nullhasPermissionsToEditRights()
public
hasPermissionsToEditRights() : bool
Return values
boolisAvailableTool()
public
isAvailableTool() : bool
Return values
boolneedShowRoleWithoutRights()
public
needShowRoleWithoutRights() : bool
Return values
boolpreSaveChecks()
public
preSaveChecks(array<string|int, mixed> $userGroups) : Result
Parameters
- $userGroups : array<string|int, mixed>
Return values
ResultprintInaccessibilityContent()
public
printInaccessibilityContent() : void
prohibitToSaveRoleWithoutAtLeastOneRight()
public
prohibitToSaveRoleWithoutAtLeastOneRight() : bool