PHP Class Sulu\Bundle\SnippetBundle\Admin\SnippetAdmin

Inheritance: extends Sulu\Bundle\AdminBundle\Admin\Admin
ファイルを表示 Open project: sulu/sulu Class Usage Examples

Public Methods

Method Description
__construct ( Sulu\Component\Security\Authorization\SecurityCheckerInterface $securityChecker, Sulu\Component\Webspace\Manager\WebspaceManagerInterface $webspaceManager, $defaultEnabled, $title )
getDefaultSnippetsSecurityContext ( string $webspaceKey ) : string Returns security context for default-snippets in given webspace.
getJsBundleName ( )
getSecurityContexts ( )

Method Details

__construct() public method

public __construct ( Sulu\Component\Security\Authorization\SecurityCheckerInterface $securityChecker, Sulu\Component\Webspace\Manager\WebspaceManagerInterface $webspaceManager, $defaultEnabled, $title )
$securityChecker Sulu\Component\Security\Authorization\SecurityCheckerInterface
$webspaceManager Sulu\Component\Webspace\Manager\WebspaceManagerInterface

getDefaultSnippetsSecurityContext() public static method

Returns security context for default-snippets in given webspace.
public static getDefaultSnippetsSecurityContext ( string $webspaceKey ) : string
$webspaceKey string
return string

getJsBundleName() public method

public getJsBundleName ( )

getSecurityContexts() public method

public getSecurityContexts ( )