CustomSectionEntitySelection
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
__construct()
public
__construct(CustomSection $customSection, int $entityTypeId[, int|null $categoryId = null ]) : mixed
Parameters
-
$customSection
: CustomSection
-
-
$entityTypeId
: int
-
-
$categoryId
: int|null
= null
-
buildModels()
public
buildModels() : array<string|int, EntityDTO>
create()
public
final static create(CreateSettingsDto|null $settingsDto) : static|null
Parameters
-
$settingsDto
: CreateSettingsDto|null
-
Return values
static|null
getGroupCode()
public
getGroupCode() : string|null
Return values
string|null
public
getMenuId() : string|null
Return values
string|null
getSliderBackUrl()
public
getSliderBackUrl() : Uri|null
getUrl()
public
getUrl() : Uri|null
hasPermissionsToEditRights()
public
hasPermissionsToEditRights() : bool
public
isAvailableTool() : bool
isSuitableCategoryId()
public
static isSuitableCategoryId(Factory $factory[, int|null $categoryId = null ]) : bool
Parameters
-
$factory
: Factory
-
-
$categoryId
: int|null
= null
-
isSuitableEntity()
public
static isSuitableEntity(int $entityTypeId[, int|null $categoryId = null ]) : bool
Parameters
-
$entityTypeId
: int
-
-
$categoryId
: int|null
= null
-
needShowRoleWithoutRights()
public
needShowRoleWithoutRights() : bool
preSaveChecks()
public
preSaveChecks(array<string|int, mixed> $userGroups) : Result
Parameters
-
$userGroups
: array<string|int, mixed>
-
printInaccessibilityContent()
public
printInaccessibilityContent() : void
prohibitToSaveRoleWithoutAtLeastOneRight()
public
prohibitToSaveRoleWithoutAtLeastOneRight() : bool