Stud.IP  2.5 Revision
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, $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
 before_filter (&$action, &$args)
 
 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 ()
 

Detailed Description

This controller realises the basal functionalities of a studygroup.

Member Function Documentation

◆ before_filter()

before_filter ( $action,
$args 
)
Here is the call graph for this function:

◆ create_action()

create_action ( )

creates a new studygroup with respect to given form data

Triggers a StudygroupDidCreate notification using the ID of the new studygroup as subject.

Returns
void
Here is the call graph for this function:

◆ deactivate_action()

deactivate_action ( )

globally deactivates the studygroups

Returns
void
Here is the call graph for this function:

◆ delete_action()

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()

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()

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()

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

offers specific member functions wrt perms

Parameters
stringid of a studypgroup
stringaction that has to be performed
stringstatus if applicable (e.g. tutor)
Returns
void
Here is the call graph for this function:

◆ globalmodules_action()

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()

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()

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()

new_action ( )

displays a form for creating studygroups

Returns
void
Here is the call graph for this function:

◆ savemodules_action()

savemodules_action ( )

sets the global module and plugin settings for studygroups

Returns
void
Here is the call graph for this function:

◆ update_action()

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: