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

Public Member Functions

 before_filter (&$action, &$args)
 details_action ($id)
 new_action ()
 create_action ()
 edit_action ($id)
 update_action ($id)
 members_action ($id, $page=1)
 edit_members_action ($id, $user, $action, $status= '', $studipticket=false)
 delete_action ($id, $approveDelete=false, $studipticket=false)
 globalmodules_action ()
 savemodules_action ()
 deactivate_action ()
 message_action ($id)
- 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)

Detailed Description

This controller realises the basal functionalities of a studygroup.

Member Function Documentation

before_filter ( $action,
$args 
)

Callback function being called before an action is executed. If this function does not return FALSE, the action will be called, otherwise an error will be generated and processing will be aborted. If this function already #rendered or #redirected, further processing of the action is withheld.

Parameters
stringName of the action to perform.
arrayAn array of arguments to the action.
Returns
bool

Reimplemented from AuthenticatedController.

Here is the call graph for this function:

create_action ( )

creates a new studygroup with respect to given form data

Returns
void

Here is the call graph for this function:

deactivate_action ( )

globally deactivates the studygroups

Returns
void

Here is the call graph for this function:

delete_action (   $id,
  $approveDelete = false,
  $studipticket = false 
)

deletes a studygroup

Parameters
stringid of a studypgroup
booleanapproveDelete
stringstudipticket
Returns
void

Here is the call graph for this function:

details_action (   $id)

shows details of a studygroup

Parameters
stringid of a studygroup
Returns
void

Here is the call graph for this function:

edit_action (   $id)

displays a form for editing studygroups with corresponding data

Parameters
stringid of a studygroup
Returns
void

Here is the call graph for this function:

edit_members_action (   $id,
  $user,
  $action,
  $status = '',
  $studipticket = false 
)

offers specific member functions wrt perms

Parameters
stringid of a studypgroup
stringuser username of a user
stringaction that has to be performed
stringstatus if applicable (e.g. tutor)
Returns
void

Here is the call graph for this function:

globalmodules_action ( )

Displays admin settings concerning the modules and plugins which that are globally available for studygroups

Returns
void

Here is the call graph for this function:

members_action (   $id,
  $page = 1 
)

displays a paginated member overview of a studygroup

Parameters
stringid of a studypgroup
stringpage number the current page
Returns
void

Here is the call graph for this function:

message_action (   $id)

sends a message to all members of a studygroup

Parameters
stringid of a studygroup
Returns
void

Here is the call graph for this function:

new_action ( )

displays a form for creating studygroups

Returns
void

Here is the call graph for this function:

savemodules_action ( )

sets the global module and plugin settings for studygroups

Returns
void

Here is the call graph for this function:

update_action (   $id)

updates studygroups with respect to the corresponding form data

Parameters
stringid of a studygroup
Returns
void

Here is the call graph for this function:


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