PHP Класс Neos\Neos\Ui\TypoScript\Helper\ModulesHelper

Наследование: implements TYPO3\Eel\ProtectedContextAwareInterface
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$modules array
$privilegeManager TYPO3\Flow\Security\Authorization\PrivilegeManagerInterface

Открытые методы

Метод Описание
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

Описание методов

allowsCallOfMethod() публичный Метод

public allowsCallOfMethod ( string $methodName ) : boolean
$methodName string
Результат boolean

isAllowed() публичный Метод

Checks whether the current user has access to a module
public isAllowed ( $moduleName ) : boolean
Результат boolean

isAvailable() публичный Метод

Checks, whether a module is available to the current user
public isAvailable ( string $moduleName ) : boolean
$moduleName string
Результат boolean

isEnabled() публичный Метод

Checks whether a module is enabled
public isEnabled ( strin $modulePath ) : boolean
$modulePath strin
Результат boolean

Описание свойств

$modules защищенное свойство

protected array $modules
Результат array

$privilegeManager защищенное свойство

protected PrivilegeManagerInterface,TYPO3\Flow\Security\Authorization $privilegeManager
Результат TYPO3\Flow\Security\Authorization\PrivilegeManagerInterface