PHP Class Sulu\Bundle\ContentBundle\Controller\SeoController

Inheritance: extends Sulu\Component\Rest\RestController, implements FOS\RestBundle\Routing\ClassResourceInterface, use trait Sulu\Component\Rest\RequestParametersTrait
Datei anzeigen Open project: sulu/sulu

Public Methods

Method Description
getAction ( Request $request, string $uuid ) : Response returns seo information for given node uuid.
getLocale ( Request $request )
postAction ( Request $request, string $uuid ) : Response handles a post request to save seo data.

Protected Methods

Method Description
getRepository ( ) : Sulu\Bundle\ContentBundle\Repository\NodeRepositoryInterface

Private Methods

Method Description
getWebspace ( Request $request ) : string returns webspace key from request.

Method Details

getAction() public method

returns seo information for given node uuid.
public getAction ( Request $request, string $uuid ) : Response
$request Symfony\Component\HttpFoundation\Request
$uuid string
return Symfony\Component\HttpFoundation\Response

getLocale() public method

public getLocale ( Request $request )
$request Symfony\Component\HttpFoundation\Request

getRepository() protected method

protected getRepository ( ) : Sulu\Bundle\ContentBundle\Repository\NodeRepositoryInterface
return Sulu\Bundle\ContentBundle\Repository\NodeRepositoryInterface

postAction() public method

handles a post request to save seo data.
public postAction ( Request $request, string $uuid ) : Response
$request Symfony\Component\HttpFoundation\Request
$uuid string
return Symfony\Component\HttpFoundation\Response