ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilExAssTypeUpload Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Inheritance diagram for ilExAssTypeUpload:
+ Collaboration diagram for ilExAssTypeUpload:

Public Member Functions

 __construct (?ilLanguage $a_lng=null)
 Constructor. More...
 
 isActive ()
 
 usesTeams ()
 
 usesFileUpload ()
 
 getTitle ()
 
 getSubmissionType ()
 
 isSubmissionAssignedToTeam ()
 
 cloneSpecificProperties (ilExAssignment $source, ilExAssignment $target)
 
 supportsWebDirAccess ()
 
 getStringIdentifier ()
 
 getExportObjIdForResourceId (int $resource_id)
 
 isActive ()
 
 usesTeams ()
 
 usesFileUpload ()
 
 getTitle ()
 
 getSubmissionType ()
 
 isSubmissionAssignedToTeam ()
 
 cloneSpecificProperties (ilExAssignment $source, ilExAssignment $target)
 
 supportsWebDirAccess ()
 
 getStringIdentifier ()
 

Protected Attributes

ilLanguage $lng
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning File upload type

Author
Alexander Killing killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de

Definition at line 24 of file class.ilExAssTypeUpload.php.

Constructor & Destructor Documentation

◆ __construct()

ilExAssTypeUpload::__construct ( ?ilLanguage  $a_lng = null)

Constructor.

Parameters
ilLanguage | null$a_lng

Definition at line 33 of file class.ilExAssTypeUpload.php.

34 {
35 global $DIC;
36
37 $this->lng = ($a_lng)
38 ?: $DIC->language();
39 }
global $DIC
Definition: shib_login.php:26

References $DIC, and ILIAS\Repository\lng().

+ Here is the call graph for this function:

Member Function Documentation

◆ cloneSpecificProperties()

ilExAssTypeUpload::cloneSpecificProperties ( ilExAssignment  $source,
ilExAssignment  $target 
)

Implements ilExAssignmentTypeInterface.

Definition at line 73 of file class.ilExAssTypeUpload.php.

76 : void {
77 }

◆ getExportObjIdForResourceId()

ilExAssTypeUpload::getExportObjIdForResourceId ( int  $resource_id)

Definition at line 90 of file class.ilExAssTypeUpload.php.

90 : int
91 {
92 return 0;
93 }

◆ getStringIdentifier()

ilExAssTypeUpload::getStringIdentifier ( )

Implements ilExAssignmentTypeInterface.

Definition at line 84 of file class.ilExAssTypeUpload.php.

84 : string
85 {
86 // TODO: Implement getSubmissionStringIdentifier() method.
87 return "";
88 }

◆ getSubmissionType()

ilExAssTypeUpload::getSubmissionType ( )

Implements ilExAssignmentTypeInterface.

Definition at line 63 of file class.ilExAssTypeUpload.php.

63 : string
64 {
66 }

References ilExSubmission\TYPE_FILE.

◆ getTitle()

ilExAssTypeUpload::getTitle ( )

Implements ilExAssignmentTypeInterface.

Definition at line 56 of file class.ilExAssTypeUpload.php.

56 : string
57 {
59
60 return $lng->txt("exc_type_upload");
61 }
txt(string $a_topic, string $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...

References $lng, and ilLanguage\txt().

+ Here is the call graph for this function:

◆ isActive()

ilExAssTypeUpload::isActive ( )

Implements ilExAssignmentTypeInterface.

Definition at line 41 of file class.ilExAssTypeUpload.php.

41 : bool
42 {
43 return true;
44 }

◆ isSubmissionAssignedToTeam()

ilExAssTypeUpload::isSubmissionAssignedToTeam ( )

Implements ilExAssignmentTypeInterface.

Definition at line 68 of file class.ilExAssTypeUpload.php.

68 : bool
69 {
70 return false;
71 }

◆ supportsWebDirAccess()

ilExAssTypeUpload::supportsWebDirAccess ( )

Implements ilExAssignmentTypeInterface.

Definition at line 79 of file class.ilExAssTypeUpload.php.

79 : bool
80 {
81 return false;
82 }

◆ usesFileUpload()

ilExAssTypeUpload::usesFileUpload ( )

Implements ilExAssignmentTypeInterface.

Definition at line 51 of file class.ilExAssTypeUpload.php.

51 : bool
52 {
53 return true;
54 }

◆ usesTeams()

ilExAssTypeUpload::usesTeams ( )

Implements ilExAssignmentTypeInterface.

Definition at line 46 of file class.ilExAssTypeUpload.php.

46 : bool
47 {
48 return false;
49 }

Field Documentation

◆ $lng

ilLanguage ilExAssTypeUpload::$lng
protected

Definition at line 26 of file class.ilExAssTypeUpload.php.

Referenced by getTitle().


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