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

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

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

Show user activities

Parameters
$user_id
Exceptions
Exception
addSidebar ( )

Init sidebar

before_filter ( $action,
$args 
)

Common tasks for all actions.

bulk_action (   $user_id = null)

Bulk action (delete users or send message to all)

change_password_action (   $user_id)

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

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

Deleting one or more users

Parameters
md5$user_id
string$parentredirect to this page after deleting users
delete_course_assignment_action ( User  $user)

Delete user from courses

Exceptions
InvalidSecurityTokenException
MethodNotAllowedException
delete_institute_action (   $user_id,
  $institut_id 
)

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

Parameters
md5$user_id
md5$institut_id
delete_studycourse_action (   $user_id,
  $fach_id,
  $abschlus_id 
)

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

Parameters
md5$user_id
md5$fach_id
md5$abschluss_id
delete_userdomain_action (   $user_id)

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

Parameters
md5$user_id
download_user_files_action (   $user_id,
  $range_id = null 
)

Download documents

Parameters
string$user_id
string$range_id
edit_action (   $user_id = null)

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

Parameters
md5$user_id
edit_institute_action (   $user_id,
  $institute_id 
)

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

Parameters
md5$user_id
md5$institute_id
index_action (   $advanced = false)

Display searchbox and all searched users (if any).

Parameters
bool$advancedopen or close the advanced searchfields
list_files_action (   $user_id,
  $range_id 
)

List files for course or institute

Parameters
$user_id
$course_id
lock_action (   $user_id)

Lock user

Parameters
$user_id
lock_comment_action (   $user_id)

Add lock-comment for locked user

Parameters
$user_id
migrate_action (   $user_id = null)

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

new_action (   $prelim = false)

Adding a new user to Stud.IP

Parameters
bool$prelim
reset_notification_action (   $user_id)

Reset notfication for user

Parameters
$user_id
reset_tfa_action (   $user_id)

Reset two factor authentication for user

Parameters
$user_id
show_user_courses_action ( User  $user)

Course overview of a user

store_user_institute_action (   $user_id,
  $institute_id 
)

Set user institute information

Parameters
$user_id
$institute_id
unlock_action (   $user_id)

Unlock an user, without security-query

Parameters
md5$user_id

Field Documentation

$_autobind = true
protected

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