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

Public Member Functions

 before_filter (&$action, &$args)
 
 after_filter ($action, $args)
 
 index_action ()
 
 courseexport_action ()
 
 groups_action ($sem=null, $studygroups=false)
 
 store_groups_action ($studygroups=false)
 
 tabularasa_action ($sem= 'all', $timestamp=null)
 
 decline_binding_action ()
 
 decline_action ($course_id, $waiting=null)
 
 archive_action ()
 
 check_for_new ($my_obj, $group_field= 'sem_number')
 
 set_semester_action ()
 
 check_course ($seminar_content)
 
 delete_boss_action ($boss_id)
 
 getPortalWidgetData ()
 
- Public Member Functions inherited from AuthenticatedController
 before_filter (&$action, &$args)
 
- 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')
 

Protected Member Functions

 setupSidebar ($sem, $group_field, $new_contents)
 
- Protected Member Functions inherited from AuthenticatedController
 keepRequest ()
 
- Protected Member Functions inherited from StudipController
 render_pdf (TCPDF $pdf, $filename, $inline=false)
 
 controller_path ()
 
 getBodyElementIdForControllerAndAction ($unconsumed_path)
 

Additional Inherited Members

- 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

after_filter (   $action,
  $args 
)
archive_action ( )

Overview for achived courses

before_filter ( $action,
$args 
)
check_course (   $seminar_content)

Checks the selected courses for news (e.g. forum posts,...) Returns true if something new happens and enables the reset function

Parameters
$seminar_content
Returns
bool
check_for_new (   $my_obj,
  $group_field = 'sem_number' 
)

Checks the whole course selection deppending on grouping eneabled or not

Parameters
$my_obj
string$group_field
Returns
bool
courseexport_action ( )

PDF export of course overview

decline_action (   $course_id,
  $waiting = null 
)

This action remove a user from course

Parameters
$course_id
decline_binding_action ( )

This action display only a message

delete_boss_action (   $boss_id)

Remove yourself as default deputy of the given boss.

Parameters
$boss_id
getPortalWidgetData ( )

Get the data array for presenting the course list in the portal widget.

groups_action (   $sem = null,
  $studygroups = false 
)

Seminar group administration - cluster your seminars by colors or change grouping mechanism

index_action ( )

Autor / Tutor / Teacher action

set_semester_action ( )

Set the selected semester and redirects to index

Parameters
null$sem
setupSidebar (   $sem,
  $group_field,
  $new_contents 
)
protected
store_groups_action (   $studygroups = false)

Storage function for the groups action. Stores selected grouping category and actual group settings.

tabularasa_action (   $sem = 'all',
  $timestamp = null 
)
Parameters
string$type
string$sem

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