PHP 클래스 Sulu\Bundle\ResourceBundle\Controller\FilterController

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

보호된 프로퍼티들

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

공개 메소드들

메소드 설명
cdeleteAction ( Request $request ) : Response Delete an filter with the given id.
cgetAction ( Request $request ) : Response Returns a list of filters.
deleteAction ( integer $id ) : Response Delete an filter with the given id.
fieldsAction ( Request $request ) : mixed returns all fields that can be used by list.
getAction ( Request $request, $id ) : Response Retrieves a filter by id.
postAction ( Request $request ) : Response Creates and stores a new filter.
putAction ( Request $request, integer $id ) : Response Change a filter by the given id.

보호된 메소드들

메소드 설명
getManager ( ) : Sulu\Bundle\ResourceBundle\Resource\FilterManagerInterface Returns the manager for filters.

비공개 메소드들

메소드 설명
getListRepresentation ( Request $request ) : ListRepresentation Returns a list representation.

메소드 상세

cdeleteAction() 공개 메소드

Delete an filter with the given id.
public cdeleteAction ( Request $request ) : Response
$request Symfony\Component\HttpFoundation\Request
리턴 Symfony\Component\HttpFoundation\Response

cgetAction() 공개 메소드

Returns a list of filters.
public cgetAction ( Request $request ) : Response
$request Symfony\Component\HttpFoundation\Request
리턴 Symfony\Component\HttpFoundation\Response

deleteAction() 공개 메소드

Delete an filter with the given id.
public deleteAction ( integer $id ) : Response
$id integer the attribute id
리턴 Symfony\Component\HttpFoundation\Response

fieldsAction() 공개 메소드

returns all fields that can be used by list.
public fieldsAction ( Request $request ) : mixed
$request Symfony\Component\HttpFoundation\Request
리턴 mixed

getAction() 공개 메소드

Retrieves a filter by id.
public getAction ( Request $request, $id ) : Response
$request Symfony\Component\HttpFoundation\Request
$id
리턴 Symfony\Component\HttpFoundation\Response

getManager() 보호된 메소드

Returns the manager for filters.
protected getManager ( ) : Sulu\Bundle\ResourceBundle\Resource\FilterManagerInterface
리턴 Sulu\Bundle\ResourceBundle\Resource\FilterManagerInterface

postAction() 공개 메소드

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

putAction() 공개 메소드

Change a filter by the given id.
public putAction ( Request $request, integer $id ) : Response
$request Symfony\Component\HttpFoundation\Request
$id integer the attribute id
리턴 Symfony\Component\HttpFoundation\Response

프로퍼티 상세

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

protected static $entityKey

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

protected static $entityName

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

protected static $groupConditionEntityName