ILIAS  trunk Revision v11.0_alpha-1761-g6dbbfa7b760
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilExAssTypeText 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 ilExAssTypeText:
+ Collaboration diagram for ilExAssTypeText:

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 Text type

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

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

Constructor & Destructor Documentation

◆ __construct()

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

Constructor.

Parameters
ilLanguage | null$a_lng

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

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

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

Member Function Documentation

◆ cloneSpecificProperties()

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

Implements ilExAssignmentTypeInterface.

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

73  : void
74  {
75  }

◆ getExportObjIdForResourceId()

ilExAssTypeText::getExportObjIdForResourceId ( int  $resource_id)

Definition at line 88 of file class.ilExAssTypeText.php.

88  : int
89  {
90  return 0;
91  }

◆ getStringIdentifier()

ilExAssTypeText::getStringIdentifier ( )

Implements ilExAssignmentTypeInterface.

Definition at line 82 of file class.ilExAssTypeText.php.

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

◆ getSubmissionType()

ilExAssTypeText::getSubmissionType ( )

Implements ilExAssignmentTypeInterface.

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

References ilExSubmission\TYPE_TEXT.

63  : string
64  {
66  }

◆ getTitle()

ilExAssTypeText::getTitle ( )

Implements ilExAssignmentTypeInterface.

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

References $lng, and ilLanguage\txt().

56  : string
57  {
58  $lng = $this->lng;
59 
60  return $lng->txt("exc_type_text");
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()

ilExAssTypeText::isActive ( )

Implements ilExAssignmentTypeInterface.

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

41  : bool
42  {
43  return true;
44  }

◆ isSubmissionAssignedToTeam()

ilExAssTypeText::isSubmissionAssignedToTeam ( )

Implements ilExAssignmentTypeInterface.

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

68  : bool
69  {
70  return false;
71  }

◆ supportsWebDirAccess()

ilExAssTypeText::supportsWebDirAccess ( )

Implements ilExAssignmentTypeInterface.

Definition at line 77 of file class.ilExAssTypeText.php.

77  : bool
78  {
79  return false;
80  }

◆ usesFileUpload()

ilExAssTypeText::usesFileUpload ( )

Implements ilExAssignmentTypeInterface.

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

51  : bool
52  {
53  return false;
54  }

◆ usesTeams()

ilExAssTypeText::usesTeams ( )

Implements ilExAssignmentTypeInterface.

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

46  : bool
47  {
48  return false;
49  }

Field Documentation

◆ $lng

ilLanguage ilExAssTypeText::$lng
protected

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

Referenced by getTitle().


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