PHP 클래스 Sulu\Bundle\MediaBundle\Controller\CollectionController

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

보호된 프로퍼티들

프로퍼티 타입 설명
$entityKey string
$entityName string

공개 메소드들

메소드 설명
cgetAction ( Request $request ) : Response lists all collections.
deleteAction ( $id ) : Response Delete a collection with the given id.
getAction ( $id, Request $request ) : Response Shows a single collection with the given id.
getFieldsAction ( ) : mixed returns all fields that can be used by list.
getSecuredClass ( )
getSecuredObjectId ( Request $request )
getSecurityContext ( ) : string
postAction ( Request $request ) : Response Creates a new collection.
postTriggerAction ( integer $id, Request $request ) : Response Trigger an action for given media. Action is specified over get-action parameter.
putAction ( integer $id, Request $request ) : Response Edits the existing collection with the given id.
putFieldsAction ( ) persists a setting.

보호된 메소드들

메소드 설명
getCollectionManager ( ) : Sulu\Bundle\MediaBundle\Collection\Manager\CollectionManagerInterface
getData ( Request $request ) : Collection
moveEntity ( integer $id, Request $request ) : Response Moves an entity into another one.
saveEntity ( $id, Request $request ) : Response

비공개 메소드들

메소드 설명
getOffset ( Request $request, $limit ) : integer

메소드 상세

cgetAction() 공개 메소드

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

deleteAction() 공개 메소드

Delete a collection with the given id.
public deleteAction ( $id ) : Response
$id
리턴 Symfony\Component\HttpFoundation\Response

getAction() 공개 메소드

Shows a single collection with the given id.
public getAction ( $id, Request $request ) : Response
$id
$request Symfony\Component\HttpFoundation\Request
리턴 Symfony\Component\HttpFoundation\Response

getCollectionManager() 보호된 메소드

protected getCollectionManager ( ) : Sulu\Bundle\MediaBundle\Collection\Manager\CollectionManagerInterface
리턴 Sulu\Bundle\MediaBundle\Collection\Manager\CollectionManagerInterface

getData() 보호된 메소드

protected getData ( Request $request ) : Collection
$request Symfony\Component\HttpFoundation\Request
리턴 Sulu\Bundle\MediaBundle\Api\Collection

getFieldsAction() 공개 메소드

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

getSecuredClass() 공개 메소드

public getSecuredClass ( )

getSecuredObjectId() 공개 메소드

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

getSecurityContext() 공개 메소드

public getSecurityContext ( ) : string
리턴 string

moveEntity() 보호된 메소드

Moves an entity into another one.
protected moveEntity ( integer $id, Request $request ) : Response
$id integer
$request Symfony\Component\HttpFoundation\Request
리턴 Symfony\Component\HttpFoundation\Response

postAction() 공개 메소드

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

postTriggerAction() 공개 메소드

Trigger an action for given media. Action is specified over get-action parameter.
public postTriggerAction ( integer $id, Request $request ) : Response
$id integer
$request Symfony\Component\HttpFoundation\Request
리턴 Symfony\Component\HttpFoundation\Response

putAction() 공개 메소드

Edits the existing collection with the given id.
public putAction ( integer $id, Request $request ) : Response
$id integer The id of the collection to update
$request Symfony\Component\HttpFoundation\Request
리턴 Symfony\Component\HttpFoundation\Response

putFieldsAction() 공개 메소드

persists a setting.
public putFieldsAction ( )

saveEntity() 보호된 메소드

protected saveEntity ( $id, Request $request ) : Response
$id
$request Symfony\Component\HttpFoundation\Request
리턴 Symfony\Component\HttpFoundation\Response

프로퍼티 상세

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

protected static string $entityKey
리턴 string

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

protected static string $entityName
리턴 string