Stud.IP  5.4
Course_GroupingController Class Reference
Inheritance diagram for Course_GroupingController:
AuthenticatedController StudipController

Public Member Functions

 before_filter (&$action, &$args)
 
 parent_action ()
 
 children_action ()
 
 members_action ()
 
 child_course_members_action ($course_id)
 
 parent_only_members_action ()
 
 action_action ()
 
 move_members_target_action ($source_id, $user_id='')
 
 move_members_action ($source_id)
 
 remove_members_action ($course_id, $user_id=null)
 
 find_members_to_add_action ()
 
 assign_parent_action ()
 
 unassign_parent_action ()
 
 assign_child_action ()
 
 unassign_child_action ($id)
 
 create_children_action ()
 
 add_members_action ()
 
- 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)
 
 render_form (\Studip\Forms\Form $form)
 
 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')
 
 render_spreadsheet (array $header, array $data, string $format, string $filename, ?string $filepath=null)
 

Additional Inherited Members

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

◆ action_action()

action_action ( )

Batch actions, like message sending, moving or removing for several members at once.

◆ add_members_action()

add_members_action ( )

Add selected members to given courses with the given permission level.

◆ assign_child_action()

assign_child_action ( )

Assign a (new) child to the current course.

◆ assign_parent_action()

assign_parent_action ( )

Assign a (new) parent to the current course.

◆ before_filter()

before_filter ( $action,
$args 
)

common tasks for all actions

◆ child_course_members_action()

child_course_members_action (   $course_id)

Shows members of given child course.

Parameters
$course_id

◆ children_action()

children_action ( )

This course can be a parent with one or more children.

◆ create_children_action()

create_children_action ( )

Batch creation of several subcourses at once.

◆ find_members_to_add_action()

find_members_to_add_action ( )

Select people to add to the given courses.

◆ members_action()

members_action ( )

Show a list of all members, grouped by child course.

◆ move_members_action()

move_members_action (   $source_id)

Move members to another cours

Parameters
string$source_idThe course to move members from.

◆ move_members_target_action()

move_members_target_action (   $source_id,
  $user_id = '' 
)

Select a course to move selected persons to.

Parameters
string$source_idid of source course
string$user_idoptional id of single user to move

◆ parent_action()

parent_action ( )

This course belongs to a parent or can be assigned to one.

◆ parent_only_members_action()

parent_only_members_action ( )

Collect users which are only in parent course and not in any child.

◆ remove_members_action()

remove_members_action (   $course_id,
  $user_id = null 
)

Removes selected members from given course.

Parameters
string$course_idthe course to remove members from

◆ unassign_child_action()

unassign_child_action (   $id)

Remove the given child.

Parameters
String$idThe course ID to remove as child.

◆ unassign_parent_action()

unassign_parent_action ( )

Remove this courses' current parent.


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