PHP Class Sulu\Bundle\ContentBundle\Controller\WebspaceController

Inheritance: extends Sulu\Component\Rest\RestController, implements FOS\RestBundle\Routing\ClassResourceInterface, implements Sulu\Component\Security\SecuredControllerInterface
显示文件 Open project: sulu/sulu

Public Methods

Method Description
cgetAction ( ) : Response Returns webspaces.
getAction ( string $webspaceKey ) : Response Returns webspace config by key.
getSecurityContext ( )

Private Methods

Method Description
getSecurityContextByWebspace ( string $webspaceKey ) : string Returns security-context by webspace.

Method Details

cgetAction() public method

Returns webspaces.
public cgetAction ( ) : Response
return Symfony\Component\HttpFoundation\Response

getAction() public method

Returns webspace config by key.
public getAction ( string $webspaceKey ) : Response
$webspaceKey string
return Symfony\Component\HttpFoundation\Response

getSecurityContext() public method

public getSecurityContext ( )