PHP Class FOS\UserBundle\Controller\GroupController

Inheritance: extends Symfony\Component\DependencyInjection\ContainerAware
Show file Open project: KnpLabs/KnpUserBundle Class Usage Examples

Public Methods

Method 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

Protected Methods

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

Method Details

createAction() public method

Create a group
public createAction ( )

deleteAction() public method

Delete one group
public deleteAction ( $groupname )

editAction() public method

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

findGroupBy() protected method

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

getEngine() protected method

protected getEngine ( )

listAction() public method

Show all groups
public listAction ( )

newAction() public method

Show the new form
public newAction ( )

setFlash() protected method

protected setFlash ( $action, $value )

showAction() public method

Show one group
public showAction ( $groupname )

updateAction() public method

Update a group
public updateAction ( $groupname )