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

Public Member Functions

 validate_args (&$args, $types=NULL)
 redirectToFolder ($folder)
 upload_window_action ()
 upload_action ($folder_id)
 unzipquestion_action ()
 details_action ($file_area_object_id=null)
 edit_action ($file_ref_id)
 oer_post_upload_action ($file_ref_id)
 share_oer_action ($file_ref_id, $redirect=null)
 suggest_oer_action ($file_ref_id)
 edit_urlfile_action ($file_ref_id)
 update_action ($file_ref_id)
 choose_destination_action ($copymode, $fileref_id=null)
 download_folder_action ($folder_id)
 choose_folder_from_course_action ()
 choose_folder_from_institute_action ()
 choose_folder_action ($folder_id=null)
 add_from_library_action ($folder_id=null)
 create_library_file_action ($folder_id=null)
 getFolders_action ()
 delete_action ($file_ref_id)
 add_files_window_action ($folder_id)
 choose_file_from_course_action ($folder_id)
 choose_file_action ($folder_id=null)
 edit_license_action ($folder_id=null)
 add_url_action ($folder_id)
 new_folder_action ($folder_id)
 edit_folder_action ($folder_id)
 delete_folder_action ($folder_id)
 bulk_action ($folder_id)
 open_folder_action ($folder_id)
- 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

 $allow_nobody = 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)

Member Function Documentation

add_files_window_action (   $folder_id)
add_from_library_action (   $folder_id = null)
add_url_action (   $folder_id)
bulk_action (   $folder_id)

This action allows downloading, copying, moving and deleting files and folders in bulk.

choose_destination_action (   $copymode,
  $fileref_id = null 
choose_file_action (   $folder_id = null)
choose_file_from_course_action (   $folder_id)
choose_folder_action (   $folder_id = null)
choose_folder_from_course_action ( )
choose_folder_from_institute_action ( )
create_library_file_action (   $folder_id = null)
delete_action (   $file_ref_id)

The action for deleting a file reference.

delete_folder_action (   $folder_id)
details_action (   $file_area_object_id = null)

Displays details about a file or a folder.

string$file_area_object_idA file area object like a Folder or a FileRef.
download_folder_action (   $folder_id)
edit_action (   $file_ref_id)

The action for editing a file reference.

edit_folder_action (   $folder_id)

Action for editing an existing folder, referenced by its ID.

$folder_idstring The ID of the folder that shall be edited.
edit_license_action (   $folder_id = null)
edit_urlfile_action (   $file_ref_id)
getFolders_action ( )
new_folder_action (   $folder_id)

Action for creating a new folder.

oer_post_upload_action (   $file_ref_id)
open_folder_action (   $folder_id)
redirectToFolder (   $folder)

This is a helper method that decides where a redirect shall be made in case of error or success after an action was executed.

share_oer_action (   $file_ref_id,
  $redirect = null 

The action for sharing a file on the oer campus

suggest_oer_action (   $file_ref_id)

The action for suggesting a file for the oer campus to the file owner

unzipquestion_action ( )
update_action (   $file_ref_id)

This action is responsible for updating a file reference.

upload_action (   $folder_id)
upload_window_action ( )
validate_args ( $args,
  $types = NULL 

Field Documentation

$allow_nobody = true

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