Stud.IP  4.0
 All Data Structures Namespaces Files Functions Variables Groups
Course_MembersController Class Reference
Inheritance diagram for Course_MembersController:
AuthenticatedController StudipController

Public Member Functions

 before_filter (&$action, &$args)
 
 index_action ()
 
 getEmailLinkByStatus ($status, $members)
 
 add_comment_action ($user_id=null)
 
 set_comment_action ($user_id=null)
 
 execute_multipersonsearch_autor_action ()
 
 execute_multipersonsearch_dozent_action ()
 
 execute_multipersonsearch_waitlist_action ()
 
 execute_multipersonsearch_tutor_action ()
 
 select_course_action ()
 
 send_to_course_action ()
 
 send_message_action ()
 
 import_autorlist_action ()
 
 set_autor_csv_action ()
 
 csv_manual_assignment_action ()
 
 change_visibility_action ($cmd, $mode)
 
 edit_tutor_action ()
 
 edit_autor_action ()
 
 edit_user_action ()
 
 edit_awaiting_action ()
 
 edit_accepted_action ()
 
 insert_admission_action ($status, $cmd, $target_status= 'autor')
 
 cancel_subscription_action ($cmd, $status, $user_id=null)
 
 upgrade_user_action ($status, $next_status)
 
 downgrade_user_action ($status, $next_status)
 
 to_waitlist_action ($which_end)
 
 additional_action ($format=null)
 
 store_additional_action ()
 
 export_additional_action ()
 
 additional_input_action ()
 
 export_members_csv_action ()
 
 toggle_student_mailing_action ($state)
 
 course_members_hide_action ($state)
 
 circular_mail_action ()
 
- Public Member Functions inherited from StudipController
 before_filter (&$action, &$args)
 
 erase_response ()
 
 perform ($unconsumed_path)
 
 after_filter ($action, $args)
 
 validate_args (&$args, $types=null)
 
 url_for ($to= '')
 
 link_for ($to= '')
 
 redirect ($to)
 
 relocate ($to)
 
 rescue ($exception)
 
 render_json ($data)
 
 render_csv ($data, $filename=null, $delimiter= ';', $enclosure= '"')
 
 render_file ($file, $filename=null, $content_type=null, $content_disposition= 'attachment', Closure $callback=null, $chunk_size=262144)
 
 render_temporary_file ($file, $filename=null, $content_type=null, $content_disposition= 'attachment', Closure $callback=null, $chunk_size=262144)
 
 relay ($to_uri)
 
 relayWithRedirect (...$args)
 
 perform_relayed ($unconsumed)
 
 render_template_as_string ($template, $layout=null)
 
 __call ($method, $arguments)
 
 has_action ($action)
 
 action_url ($action)
 
 action_link ($action)
 
 validate_datetime ($datetime, $format= 'H:i')
 

Additional Inherited Members

- Protected Member Functions inherited from StudipController
 render_pdf (TCPDF $pdf, $filename, $inline=false)
 
 controller_path ()
 
 getBodyElementIdForControllerAndAction ($unconsumed_path)
 
- Protected Attributes inherited from AuthenticatedController
 $with_session = true
 
 $allow_nobody = false
 
- Protected Attributes inherited from StudipController
 $with_session = false
 
 $allow_nobody = true
 
 $_autobind = false
 

Member Function Documentation

add_comment_action (   $user_id = null)

Show dialog to enter a comment for this user

Parameters
String$user_id
Exceptions
AccessDeniedException
additional_action (   $format = null)

Displays all members of the course and their aux data

additional_input_action ( )

Aux input for users

before_filter ( $action,
$args 
)
cancel_subscription_action (   $cmd,
  $status,
  $user_id = null 
)

Cancel the subscription of a selected user or group of users

Parameters
String$cmd
String$status
String$user_id
Exceptions
AccessDeniedException
change_visibility_action (   $cmd,
  $mode 
)

Change the visibilty of an autor

Returns
Boolean
circular_mail_action ( )
course_members_hide_action (   $state)
csv_manual_assignment_action ( )

Select manual the assignment of a given user or of a group of users Object $perm

Exceptions
AccessDeniedException
downgrade_user_action (   $status,
  $next_status 
)

Downgrade a user to a selected status

Parameters
type$status
type$next_status
type$username
type$cmd
Exceptions
AccessDeniedException
edit_accepted_action ( )

Helper function to select the action

Exceptions
AccessDeniedException
edit_autor_action ( )

Helper function to select the action

Exceptions
AccessDeniedException
edit_awaiting_action ( )

Helper function to select the action

Exceptions
AccessDeniedException
edit_tutor_action ( )

Helper function to select the action

Exceptions
AccessDeniedException
edit_user_action ( )

Helper function to select the action

Exceptions
AccessDeniedException
execute_multipersonsearch_autor_action ( )

Add members to a seminar.

Exceptions
AccessDeniedException
execute_multipersonsearch_dozent_action ( )

Add dozents to a seminar.

Exceptions
AccessDeniedException
execute_multipersonsearch_tutor_action ( )

Add tutors to a seminar.

Exceptions
AccessDeniedException
execute_multipersonsearch_waitlist_action ( )

Add people to a course waitlist.

Exceptions
AccessDeniedException
export_additional_action ( )

Export all members of the course and their aux data to CSV

export_members_csv_action ( )
getEmailLinkByStatus (   $status,
  $members 
)
import_autorlist_action ( )
index_action ( )
insert_admission_action (   $status,
  $cmd,
  $target_status = 'autor' 
)

Insert a user to a given seminar or a group of users

Parameters
String$status
String$cmd
String$target_status
Exceptions
AccessDeniedException
select_course_action ( )

Provides a dialog to move or copy selected users to another course.

send_message_action ( )

Send Stud.IP-Message to selected users

send_to_course_action ( )

Copies or moves selected users to the selected target course.

set_autor_csv_action ( )

Old version of CSV import (copy and paste from teilnehmer.php

Exceptions
AccessDeniedException
set_comment_action (   $user_id = null)

Store a comment for this user

Parameters
String$user_id
Exceptions
AccessDeniedException
store_additional_action ( )

Stora all members of the course and their aux data

to_waitlist_action (   $which_end)

Moves selected users to waitlist, either at the top or at the end.

Parameters
$which_end'first' or 'last': append to top or to end of waitlist?
toggle_student_mailing_action (   $state)
upgrade_user_action (   $status,
  $next_status 
)

Upgrade a user to a selected status

Parameters
type$status
type$next_status
type$username
type$cmd
Exceptions
AccessDeniedException

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