Interface luya\admin\ngrest\NgRestPermissionLevelInterface

Implemented byluya\admin\aws\ApiOverviewActiveWindow, luya\admin\aws\ApiRequestInsightActiveWindow, luya\admin\aws\ChangePasswordActiveWindow, luya\admin\aws\CoordinatesActiveWindow, luya\admin\aws\DeleteTagsActiveWindow, luya\admin\aws\DetailViewActiveWindow, luya\admin\aws\FlowActiveWindow, luya\admin\aws\GroupAuthActiveWindow, luya\admin\aws\ImageSelectCollectionActiveWindow, luya\admin\aws\StorageFilterImagesActiveWindow, luya\admin\aws\TaggableActiveWindow, luya\admin\aws\UserHistorySummaryActiveWindow, luya\admin\buttons\DuplicateActiveButton, luya\admin\buttons\TimestampActiveButton, luya\admin\buttons\ToggleStatusActiveButton, luya\admin\ngrest\base\ActiveButton, luya\admin\ngrest\base\ActiveWindow, luya\cms\admin\aws\BlockPagesActiveWindow
Available since version4.0.0
Source Code https://github.com/luyadev/luya-module-admin/blob/master/src/ngrest/NgRestPermissionLevelInterface.php

Ngrest Button Permission Condition Interface

Public Methods

Hide inherited methods

Method Description Defined By
getPermissionLevel() Get the button displaying permission level or empty of not set luya\admin\ngrest\NgRestPermissionLevelInterface
setPermissionLevel() Setter method for the ActiveWindow button displaying permission level luya\admin\ngrest\NgRestPermissionLevelInterface

Method Details

Hide inherited methods

getPermissionLevel() public abstract method (available since version 4.0.0)

Get the button displaying permission level or empty of not set

public abstract void getPermissionLevel ( )

                public function getPermissionLevel();

            
setPermissionLevel() public abstract method (available since version 4.0.0)

Setter method for the ActiveWindow button displaying permission level

public abstract void setPermissionLevel ( $permissionLevel )
$permissionLevel integer

                public function setPermissionLevel($permissionLevel);