PHP Class Neos\Neos\Ui\TypoScript\Helper\ModulesHelper

Inheritance: implements TYPO3\Eel\ProtectedContextAwareInterface
Afficher le fichier Open project: neos/neos-ui

Protected Properties

Свойство Type Description
$modules array
$privilegeManager TYPO3\Flow\Security\Authorization\PrivilegeManagerInterface

Méthodes publiques

Méthode Description
allowsCallOfMethod ( string $methodName ) : boolean
isAllowed ( $moduleName ) : boolean Checks whether the current user has access to a module
isAvailable ( string $moduleName ) : boolean Checks, whether a module is available to the current user
isEnabled ( strin $modulePath ) : boolean Checks whether a module is enabled

Method Details

allowsCallOfMethod() public méthode

public allowsCallOfMethod ( string $methodName ) : boolean
$methodName string
Résultat boolean

isAllowed() public méthode

Checks whether the current user has access to a module
public isAllowed ( $moduleName ) : boolean
Résultat boolean

isAvailable() public méthode

Checks, whether a module is available to the current user
public isAvailable ( string $moduleName ) : boolean
$moduleName string
Résultat boolean

isEnabled() public méthode

Checks whether a module is enabled
public isEnabled ( strin $modulePath ) : boolean
$modulePath strin
Résultat boolean

Property Details

$modules protected_oe property

protected array $modules
Résultat array

$privilegeManager protected_oe property

protected PrivilegeManagerInterface,TYPO3\Flow\Security\Authorization $privilegeManager
Résultat TYPO3\Flow\Security\Authorization\PrivilegeManagerInterface