ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ilObjFileHandlingQuestionType Interface Reference

Interface ilObjFileHandlingQuestionType. More...

+ Inheritance diagram for ilObjFileHandlingQuestionType:
+ Collaboration diagram for ilObjFileHandlingQuestionType:

Public Member Functions

 hasFileUploads ($test_id)
 Checks if file uploads exist for a given test and the original id of the question. More...
 
 deliverFileUploadZIPFile ($test_id, $test_title)
 Generates a ZIP file containing all file uploads for a given test and the original id of the question. More...
 
 getFileUploadPath ($test_id, $active_id, $question_id=null)
 Returns the path for uploaded files from given active in given test on current or given question. More...
 

Detailed Description

Interface ilObjFileHandlingQuestionType.

Thin interface to denote a question as a file handling question type.

Author
Maximilian Becker mbeck.nosp@m.er@d.nosp@m.ataba.nosp@m.y.de
Version
$Id$

Definition at line 15 of file interface.ilObjFileHandlingQuestionType.php.

Member Function Documentation

◆ deliverFileUploadZIPFile()

ilObjFileHandlingQuestionType::deliverFileUploadZIPFile (   $test_id,
  $test_title 
)

Generates a ZIP file containing all file uploads for a given test and the original id of the question.

Parameters
integer$test_id
string$test_title

Implemented in assFileUpload.

◆ getFileUploadPath()

ilObjFileHandlingQuestionType::getFileUploadPath (   $test_id,
  $active_id,
  $question_id = null 
)

Returns the path for uploaded files from given active in given test on current or given question.

Parameters
integer$test_id
integer$active_id
integer | null$question_id
Returns
string

Implemented in assFileUpload.

◆ hasFileUploads()

ilObjFileHandlingQuestionType::hasFileUploads (   $test_id)

Checks if file uploads exist for a given test and the original id of the question.

Parameters
integer$test_id
Returns
boolean TRUE if file uploads exist, FALSE otherwise

Implemented in assFileUpload.


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