PHP 클래스 Sulu\Bundle\TagBundle\Controller\TagController

상속: extends Sulu\Component\Rest\RestController, implements FOS\RestBundle\Routing\ClassResourceInterface, implements Sulu\Component\Security\SecuredControllerInterface
파일 보기 프로젝트 열기: sulu/sulu

보호된 프로퍼티들

프로퍼티 타입 설명
$bundlePrefix
$entityKey
$entityName
$fieldsDefault
$fieldsEditable
$fieldsExcluded
$fieldsHidden
$fieldsRelations
$fieldsSortOrder
$fieldsTranslationKeys
$fieldsValidation
$unsortable

공개 메소드들

메소드 설명
cgetAction ( Request $request ) : Response returns all tags.
deleteAction ( $id ) : Response Deletes the tag with the given ID.
getAction ( $id ) : Response Returns a single tag with the given id.
getFieldsAction ( ) : mixed returns all fields that can be used by list.
getSecurityContext ( )
patchAction ( Request $request ) : Response TODO: find out why pluralization does not work for this patch action ISSUE: https://github.com/sulu-cmf/SuluTagBundle/issues/6.
postAction ( Request $request ) : Response Inserts a new tag.
postMergeAction ( Request $request ) : Response POST Route annotation.
putAction ( Request $request, $id ) : Response Updates the tag with the given ID.
putFieldsAction ( ) persists a setting.

비공개 메소드들

메소드 설명
getManager ( ) : Sulu\Bundle\TagBundle\Tag\TagManagerInterface

메소드 상세

cgetAction() 공개 메소드

returns all tags.
public cgetAction ( Request $request ) : Response
$request Symfony\Component\HttpFoundation\Request
리턴 Symfony\Component\HttpFoundation\Response

deleteAction() 공개 메소드

Deletes the tag with the given ID.
public deleteAction ( $id ) : Response
$id
리턴 Symfony\Component\HttpFoundation\Response

getAction() 공개 메소드

Returns a single tag with the given id.
public getAction ( $id ) : Response
$id
리턴 Symfony\Component\HttpFoundation\Response

getFieldsAction() 공개 메소드

returns all fields that can be used by list.
public getFieldsAction ( ) : mixed
리턴 mixed

getSecurityContext() 공개 메소드

public getSecurityContext ( )

patchAction() 공개 메소드

TODO: find out why pluralization does not work for this patch action ISSUE: https://github.com/sulu-cmf/SuluTagBundle/issues/6.
public patchAction ( Request $request ) : Response
$request Symfony\Component\HttpFoundation\Request
리턴 Symfony\Component\HttpFoundation\Response

postAction() 공개 메소드

Inserts a new tag.
public postAction ( Request $request ) : Response
$request Symfony\Component\HttpFoundation\Request
리턴 Symfony\Component\HttpFoundation\Response

postMergeAction() 공개 메소드

POST Route annotation.
public postMergeAction ( Request $request ) : Response
$request Symfony\Component\HttpFoundation\Request
리턴 Symfony\Component\HttpFoundation\Response

putAction() 공개 메소드

Updates the tag with the given ID.
public putAction ( Request $request, $id ) : Response
$request Symfony\Component\HttpFoundation\Request
$id
리턴 Symfony\Component\HttpFoundation\Response

putFieldsAction() 공개 메소드

persists a setting.
public putFieldsAction ( )

프로퍼티 상세

$bundlePrefix 보호되어 있는 프로퍼티

protected $bundlePrefix

$entityKey 보호되어 있는 정적으로 프로퍼티

protected static $entityKey

$entityName 보호되어 있는 정적으로 프로퍼티

protected static $entityName

$fieldsDefault 보호되어 있는 프로퍼티

protected $fieldsDefault

$fieldsEditable 보호되어 있는 프로퍼티

protected $fieldsEditable

$fieldsExcluded 보호되어 있는 프로퍼티

protected $fieldsExcluded

$fieldsHidden 보호되어 있는 프로퍼티

protected $fieldsHidden

$fieldsRelations 보호되어 있는 프로퍼티

protected $fieldsRelations

$fieldsSortOrder 보호되어 있는 프로퍼티

protected $fieldsSortOrder

$fieldsTranslationKeys 보호되어 있는 프로퍼티

protected $fieldsTranslationKeys

$fieldsValidation 보호되어 있는 프로퍼티

protected $fieldsValidation

$unsortable 보호되어 있는 프로퍼티

protected $unsortable