Class humhub\modules\directory\permissions\AccessDirectory

Inheritancehumhub\modules\directory\permissions\AccessDirectory » humhub\libs\BasePermission » yii\base\BaseObject

Protected Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$defaultAllowedGroups array Default allowed groups humhub\libs\BasePermission
$defaultState string humhub\modules\directory\permissions\AccessDirectory
$description string Description of the permission humhub\libs\BasePermission
$fixedGroups array Default fixed groups humhub\libs\BasePermission
$id string Id of the permission (default is classname) humhub\libs\BasePermission
$moduleId string Module id which belongs to the permission humhub\modules\directory\permissions\AccessDirectory
$title string Title of the permission humhub\libs\BasePermission

Public Methods

Hide inherited methods

MethodDescriptionDefined By
canChangeState() Checks if permission state can be changed humhub\libs\BasePermission
getDefaultState() Returns the default state of the permission. humhub\libs\BasePermission
getDescription() humhub\modules\directory\permissions\AccessDirectory
getId() Returns the ID humhub\libs\BasePermission
getLabelForState() Returns the label for given State humhub\libs\BasePermission
getModuleId() Returns the module id humhub\libs\BasePermission
getTitle() humhub\modules\directory\permissions\AccessDirectory
hasId() Checks the given id belongs to this permission humhub\libs\BasePermission

Protected Methods

Hide inherited methods

MethodDescriptionDefined By
getConfiguredState() Returns the default state set in the configration params 'defaultPermissions'. humhub\libs\BasePermission

Constants

Hide inherited constants

ConstantValueDescriptionDefined By
STATE_ALLOW 1 humhub\libs\BasePermission
STATE_DEFAULT '' Permission States humhub\libs\BasePermission
STATE_DENY 0 humhub\libs\BasePermission

Property Details

$defaultState protected property
protected string $defaultState self::STATE_ALLOW
$moduleId protected property

Module id which belongs to the permission

protected string $moduleId 'directory'

Method Details

getDescription() public method

public void getDescription ( )
getTitle() public method

public void getTitle ( )