Property | Type | Description | |
---|---|---|---|
$entityKey | |||
$entityName | |||
$fieldDescriptors | - Holds the field descriptors for the list response |
Method | Description | |
---|---|---|
__construct ( ) | TODO: move the field descriptors to a manager | |
cgetAction ( |
returns all groups. | |
deleteAction ( $id ) : |
Deletes the group with the given id. | |
getAction ( $id ) : |
Returns the group with the given id. | |
getSecurityContext ( ) : mixed | Returns the SecurityContext required for the controller. | |
postAction ( |
Creates a new group with the given data. | |
putAction ( |
Updates the group with the given id and the data given by the request. | |
setParent ( $group ) |
Method | Description | |
---|---|---|
processRoles ( |
Process all roles from request. |
Method | Description | |
---|---|---|
addRole ( |
Adds the given role to the group. | |
updateRole ( Sulu\Component\Security\Authentication\RoleInterface $role, $roleData ) : boolean | Updates an already existing role. |
public cgetAction ( |
||
$request | ||
return |
public deleteAction ( $id ) : |
||
$id | ||
return |
public getAction ( $id ) : |
||
$id | ||
return |
public getSecurityContext ( ) : mixed | ||
return | mixed |
public postAction ( |
||
$request | ||
return |
protected processRoles ( |
||
$group | The contact on which is worked | |
$roles | array | The roles to process |
return | boolean | True if the processing was successful, otherwise false |
public putAction ( |
||
$request | ||
$id | ||
return |