Stud.IP  6.0
Admin_UserController Class Reference
Inheritance diagram for Admin_UserController:
AuthenticatedController StudipController Controller

Public Member Functions

 before_filter (&$action, &$args)
 
 index_action ($advanced=false)
 
 bulk_action ($user_id=null)
 
 delete_action ($user_id=null, $parent='')
 
 edit_action ($user_id=null)
 
 new_action ($prelim=false)
 
 migrate_action ($user_id=null)
 
 change_password_action ($user_id)
 
 lock_comment_action ($user_id)
 
 lock_action ($user_id)
 
 unlock_action ($user_id)
 
 edit_institute_action ($user_id, $institute_id)
 
 store_user_institute_action ($user_id, $institute_id)
 
 delete_studycourse_action ($user_id, $fach_id, $abschlus_id)
 
 delete_institute_action ($user_id, $institut_id)
 
 delete_userdomain_action ($user_id)
 
 reset_notification_action ($user_id)
 
 reset_tfa_action ($user_id)
 
 activities_action ($user_id)
 
 list_files_action ($user_id, $range_id)
 
 download_user_files_action ($user_id, $range_id=null)
 
 show_user_courses_action (User $user)
 
 delete_course_assignment_action (User $user)
 
 batch_export_members_action ()
 
 do_batch_export_action ()
 
 addSidebar ()
 
- 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)
 
 render_vue_app (\Studip\VueApp $app)
 
 relay ($to_uri)
 
 relayWithRedirect (... $args)
 
 perform_relayed ($unconsumed)
 
 render_template ($template_name, $layout=null)
 
 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)
 
- Public Member Functions inherited from Controller
 __construct (Dispatcher $dispatcher)
 
 erase_response ()
 
 get_response ()
 
 perform ($unconsumed)
 
 extract_action_and_args ($string)
 
 default_action_and_args ()
 
 map_action ($action)
 
 before_filter (&$action, &$args)
 
 after_filter ($action, $args)
 
 does_not_understand ($action, $args)
 
 redirect ($to)
 
 render_text ($text=' ')
 
 render_nothing ()
 
 render_action ($action)
 
 get_default_template ($action)
 
 render_template ($template_name, $layout=null)
 
 get_template_factory ()
 
 get_assigned_variables ()
 
 set_layout ($layout)
 
 url_for ($to)
 
 set_status ($status, $reason_phrase=null)
 
 set_content_type ($type)
 
 rescue ($exception)
 
 respond_to ($ext)
 

Protected Attributes

 $_autobind = true
 
- Protected Attributes inherited from AuthenticatedController
 $with_session = true
 
 $allow_nobody = false
 
- Protected Attributes inherited from StudipController
 $with_session = false
 
 $allow_nobody = true
 
 $_autobind = false
 
- Protected Attributes inherited from Controller
Dispatcher $dispatcher
 
Response $response
 
bool $performed = false
 
Template string null $layout = 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)
 

Detailed Description

controller class for the user-administration

Member Function Documentation

◆ activities_action()

activities_action (   $user_id)

Show user activities

Parameters
$user_id
Exceptions
Exception

◆ addSidebar()

addSidebar ( )

Init sidebar

◆ batch_export_members_action()

batch_export_members_action ( )

◆ before_filter()

before_filter ( $action,
$args 
)

Common tasks for all actions.

◆ bulk_action()

bulk_action (   $user_id = null)

Bulk action (delete users or send message to all)

◆ change_password_action()

change_password_action (   $user_id)

Set the password of an user to a new random password, without security-query

Parameters
string$user_id

◆ delete_action()

delete_action (   $user_id = null,
  $parent = '' 
)

Deleting one or more users

Parameters
string$user_id
string$parentredirect to this page after deleting users

◆ delete_course_assignment_action()

delete_course_assignment_action ( User  $user)

Delete user from courses

Exceptions
InvalidSecurityTokenException
MethodNotAllowedException

◆ delete_institute_action()

delete_institute_action (   $user_id,
  $institut_id 
)

Delete an institute of an user , without a security-query

Parameters
string$user_id
string$institut_id

◆ delete_studycourse_action()

delete_studycourse_action (   $user_id,
  $fach_id,
  $abschlus_id 
)

Delete an studycourse of an user , without a security-query

Parameters
string$user_id
string$fach_id
string$abschluss_id

◆ delete_userdomain_action()

delete_userdomain_action (   $user_id)

Delete an assignment of an user to an userdomain, without a security-query

Parameters
string$user_id

◆ do_batch_export_action()

do_batch_export_action ( )

◆ download_user_files_action()

download_user_files_action (   $user_id,
  $range_id = null 
)

Download documents

Parameters
string$user_id
string$range_id

◆ edit_action()

edit_action (   $user_id = null)

Display all information according to the selected user. All details can be changed and deleted.

Parameters
string$user_id

◆ edit_institute_action()

edit_institute_action (   $user_id,
  $institute_id 
)

Display institute informations of an user and save changes to it.

Parameters
string$user_id
string$institute_id

◆ index_action()

index_action (   $advanced = false)

Display searchbox and all searched users (if any).

Parameters
bool$advancedopen or close the advanced searchfields

◆ list_files_action()

list_files_action (   $user_id,
  $range_id 
)

List files for course or institute

Parameters
string$user_id
string$course_id

◆ lock_action()

lock_action (   $user_id)

Lock user

Parameters
$user_id

◆ lock_comment_action()

lock_comment_action (   $user_id)

Add lock-comment for locked user

Parameters
$user_id

◆ migrate_action()

migrate_action (   $user_id = null)

Migrate 2 users to 1 account. This is a part of the old numit-plugin

◆ new_action()

new_action (   $prelim = false)

Adding a new user to Stud.IP

Parameters
bool$prelim

◆ reset_notification_action()

reset_notification_action (   $user_id)

Reset notification for user

Parameters
$user_id

◆ reset_tfa_action()

reset_tfa_action (   $user_id)

Reset two factor authentication for user

Parameters
$user_id

◆ show_user_courses_action()

show_user_courses_action ( User  $user)

Course overview of a user

◆ store_user_institute_action()

store_user_institute_action (   $user_id,
  $institute_id 
)

Set user institute information

Parameters
string$user_id
string$institute_id

◆ unlock_action()

unlock_action (   $user_id)

Unlock an user, without security-query

Parameters
string$user_id

Field Documentation

◆ $_autobind

$_autobind = true
protected

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