PHP Class FOS\UserBundle\Controller\GroupController

Inheritance: extends Symfony\Component\DependencyInjection\ContainerAware
Afficher le fichier Open project: KnpLabs/KnpUserBundle Class Usage Examples

Méthodes publiques

Méthode Description
createAction ( ) Create a group
deleteAction ( $groupname ) Delete one group
editAction ( $groupname ) Edit one group, show the edit form
listAction ( ) Show all groups
newAction ( ) Show the new form
showAction ( $groupname ) Show one group
updateAction ( $groupname ) Update a group

Méthodes protégées

Méthode Description
findGroupBy ( string $key, mixed $value ) : Group Find a group by a specific property
getEngine ( )
setFlash ( $action, $value )

Method Details

createAction() public méthode

Create a group
public createAction ( )

deleteAction() public méthode

Delete one group
public deleteAction ( $groupname )

editAction() public méthode

Edit one group, show the edit form
public editAction ( $groupname )

findGroupBy() protected méthode

Find a group by a specific property
protected findGroupBy ( string $key, mixed $value ) : Group
$key string property name
$value mixed property value
Résultat FOS\UserBundle\Model\Group

getEngine() protected méthode

protected getEngine ( )

listAction() public méthode

Show all groups
public listAction ( )

newAction() public méthode

Show the new form
public newAction ( )

setFlash() protected méthode

protected setFlash ( $action, $value )

showAction() public méthode

Show one group
public showAction ( $groupname )

updateAction() public méthode

Update a group
public updateAction ( $groupname )