PHP Class Sulu\Bundle\ResourceBundle\Controller\FilterController

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

Protected Properties

Свойство Type Description
$entityKey
$entityName
$groupConditionEntityName

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
getManager ( ) : Sulu\Bundle\ResourceBundle\Resource\FilterManagerInterface Returns the manager for filters.

Private Methods

Méthode Description
getListRepresentation ( Request $request ) : ListRepresentation Returns a list representation.

Method Details

cdeleteAction() public méthode

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

cgetAction() public méthode

Returns a list of filters.
public cgetAction ( Request $request ) : Response
$request Symfony\Component\HttpFoundation\Request
Résultat Symfony\Component\HttpFoundation\Response

deleteAction() public méthode

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

fieldsAction() public méthode

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

getAction() public méthode

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

getManager() protected méthode

Returns the manager for filters.
protected getManager ( ) : Sulu\Bundle\ResourceBundle\Resource\FilterManagerInterface
Résultat Sulu\Bundle\ResourceBundle\Resource\FilterManagerInterface

postAction() public méthode

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

putAction() public méthode

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

Property Details

$entityKey protected_oe static_oe property

protected static $entityKey

$entityName protected_oe static_oe property

protected static $entityName

$groupConditionEntityName protected_oe static_oe property

protected static $groupConditionEntityName