Stud.IP  2.4 Revision 48548
 All Data Structures Namespaces Files Functions Variables Groups Pages
Admin_RoleController Class Reference
Inheritance diagram for Admin_RoleController:
Inheritance graph
Collaboration diagram for Admin_RoleController:
Collaboration graph

Public Member Functions

 before_filter (&$action, &$args)
 index_action ()
 create_role_action ()
 ask_remove_role_action ($roleid)
 remove_role_action ($roleid)
 assign_role_action ($userid=NULL)
 save_role_action ($userid)
 assign_plugin_role_action ($pluginid=NULL)
 save_plugin_role_action ($pluginid)
 show_role_action ($roleid=NULL)
- Public Member Functions inherited from AuthenticatedController
 after_filter ($action, $args)
- Public Member Functions inherited from StudipController
 validate_args (&$args, $types=NULL)
 url_for ($to)
 rescue ($exception)
 setInfoBoxImage ($image)
 addToInfobox ($category, $text, $icon= 'blank.gif')

Additional Inherited Members

- Protected Member Functions inherited from StudipController
 populateInfobox ()

Member Function Documentation

ask_remove_role_action (   $roleid)

Ask for confirmation from the user before deleting a role.

Parameters
integerid of role to delete

Here is the call graph for this function:

assign_plugin_role_action (   $pluginid = NULL)

Display all roles assigned to a particular plugin.

Parameters
integerplugin id (optional)

Here is the call graph for this function:

assign_role_action (   $userid = NULL)

Display all roles assigned to a particular user.

Parameters
stringuser id (optional)

Here is the call graph for this function:

before_filter ( $action,
$args 
)

Common tasks for all actions.

Reimplemented from AuthenticatedController.

Here is the call graph for this function:

create_role_action ( )

Create a new role.

Here is the call graph for this function:

index_action ( )

Display a list of all existing roles and some statistics.

Here is the call graph for this function:

remove_role_action (   $roleid)

Completely delete a role (including all its assignments).

Parameters
integerid of role to delete

Here is the call graph for this function:

save_plugin_role_action (   $pluginid)

Change the roles assigned to a particular plugin.

Parameters
integerplugin id

Here is the call graph for this function:

save_role_action (   $userid)

Change the roles assigned to a particular user.

Parameters
stringuser id

Here is the call graph for this function:

show_role_action (   $roleid = NULL)

Display a list of user and role assignments for a given role.

Parameters
integerrole id (optional)

Here is the call graph for this function:


The documentation for this class was generated from the following file: