메소드 | 설명 | |
---|---|---|
__construct ( FOS\RestBundle\View\ViewHandler $viewHandler, |
||
cgetAction ( |
Returns list of snippets. | |
deleteAction ( |
Deletes an existing Snippet. | |
getAction ( |
Returns snippet by ID. | |
getFieldsAction ( ) : Symfony\Component\HttpFoundation\JsonResponse | TODO refactor. | |
getLocale ( |
||
getSecurityContext ( ) | ||
postAction ( |
Saves a new snippet. | |
postTriggerAction ( string $uuid, |
trigger a action for given snippet specified over get-action parameter. | |
putAction ( |
Saves a new existing snippet. |
메소드 | 설명 | |
---|---|---|
decorateSnippet ( array $snippet, $locale ) | Decorate snippet for HATEOAS. | |
findDocument ( $uuid, $locale ) | ||
getReferentialIntegrityResponse ( string $webspace, PHPCR\NodeInterface[] $references, string $uuid, $locale ) : |
Return a response for the case where there is an referential integrity violation. | |
getUser ( ) | Returns user. | |
handleView ( $document ) | ||
processForm ( |
public __construct ( FOS\RestBundle\View\ViewHandler $viewHandler, |
||
$viewHandler | FOS\RestBundle\View\ViewHandler | |
$contentMapper | ||
$structureManager | Sulu\Component\Content\Compat\StructureManagerInterface | |
$snippetRepository | ||
$tokenStorage | Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface | |
$urlGenerator | Symfony\Component\Routing\Generator\UrlGeneratorInterface | |
$defaultSnippetManager | Sulu\Bundle\SnippetBundle\Snippet\DefaultSnippetManagerInterface | |
$documentManager | Sulu\Component\DocumentManager\DocumentManager | |
$formFactory | ||
$requestHashChecker | ||
$listRestHelper |
public cgetAction ( |
||
$request | ||
리턴 |
public deleteAction ( |
||
$request | ||
$uuid | string | |
리턴 | Symfony\Component\HttpFoundation\JsonResponse |
public getFieldsAction ( ) : Symfony\Component\HttpFoundation\JsonResponse | ||
리턴 | Symfony\Component\HttpFoundation\JsonResponse |
public getLocale ( |
||
$request |
public postAction ( |
||
$request | ||
리턴 |
public postTriggerAction ( string $uuid, |
||
$uuid | string | |
$request | ||
리턴 |