ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ilExAssTypeUploadTeam 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 ilExAssTypeUploadTeam:
+ Collaboration diagram for ilExAssTypeUploadTeam:

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)
 

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 Team file upload type

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

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

Constructor & Destructor Documentation

◆ __construct()

ilExAssTypeUploadTeam::__construct ( ilLanguage  $a_lng = null)

Constructor.

Parameters
ilLanguage | null$a_lng

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

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

34  {
35  global $DIC;
36 
37  $this->lng = ($a_lng)
38  ?: $DIC->language();
39  }
global $DIC
Definition: feed.php:28
+ Here is the call graph for this function:

Member Function Documentation

◆ cloneSpecificProperties()

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

Implements ilExAssignmentTypeInterface.

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

76  : void {
77  }

◆ getExportObjIdForResourceId()

ilExAssTypeUploadTeam::getExportObjIdForResourceId ( int  $resource_id)

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

90  : int
91  {
92  return 0;
93  }

◆ getStringIdentifier()

ilExAssTypeUploadTeam::getStringIdentifier ( )

Implements ilExAssignmentTypeInterface.

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

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

◆ getSubmissionType()

ilExAssTypeUploadTeam::getSubmissionType ( )

Implements ilExAssignmentTypeInterface.

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

References ilExSubmission\TYPE_FILE.

63  : string
64  {
66  }

◆ getTitle()

ilExAssTypeUploadTeam::getTitle ( )

Implements ilExAssignmentTypeInterface.

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

References $lng, and ilLanguage\txt().

56  : string
57  {
58  $lng = $this->lng;
59 
60  return $lng->txt("exc_type_upload_team");
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...
+ Here is the call graph for this function:

◆ isActive()

ilExAssTypeUploadTeam::isActive ( )

Implements ilExAssignmentTypeInterface.

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

41  : bool
42  {
43  return true;
44  }

◆ isSubmissionAssignedToTeam()

ilExAssTypeUploadTeam::isSubmissionAssignedToTeam ( )

Implements ilExAssignmentTypeInterface.

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

68  : bool
69  {
70  return false;
71  }

◆ supportsWebDirAccess()

ilExAssTypeUploadTeam::supportsWebDirAccess ( )

Implements ilExAssignmentTypeInterface.

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

79  : bool
80  {
81  return false;
82  }

◆ usesFileUpload()

ilExAssTypeUploadTeam::usesFileUpload ( )

Implements ilExAssignmentTypeInterface.

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

51  : bool
52  {
53  return true;
54  }

◆ usesTeams()

ilExAssTypeUploadTeam::usesTeams ( )

Implements ilExAssignmentTypeInterface.

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

46  : bool
47  {
48  return true;
49  }

Field Documentation

◆ $lng

ilLanguage ilExAssTypeUploadTeam::$lng
protected

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

Referenced by getTitle().


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