PHP 클래스 Neos\Neos\Ui\TypoScript\Helper\ModulesHelper

상속: implements TYPO3\Eel\ProtectedContextAwareInterface
파일 보기 프로젝트 열기: neos/neos-ui

보호된 프로퍼티들

프로퍼티 타입 설명
$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