ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilExAssTypeText Class Reference

Text type. More...

+ Inheritance diagram for ilExAssTypeText:
+ Collaboration diagram for ilExAssTypeText:

Public Member Functions

 __construct (ilLanguage $a_lng=null)
 Constructor. More...
 
 isActive ()
 Is assignment type active?
Returns
bool
More...
 
 usesTeams ()
 Uses teams.
Returns
bool
More...
 
 usesFileUpload ()
 Uses file upload.
Returns
bool
More...
 
 getTitle ()
 Get title of type.
Returns
string
More...
 
 getSubmissionType ()
 Get submission type.
Returns
string
More...
 
 isSubmissionAssignedToTeam ()
 Get submission type.
Returns
string
More...
 
 cloneSpecificProperties (ilExAssignment $source, ilExAssignment $target)
 Clone type specific properties of an assignment.
Parameters
ilExAssignment$source
ilExAssignment$target
More...
 

Protected Attributes

 $lng
 

Detailed Description

Text type.

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

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

Constructor & Destructor Documentation

◆ __construct()

ilExAssTypeText::__construct ( ilLanguage  $a_lng = null)

Constructor.

Parameters
ilLanguage | null$a_lng

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

References $DIC.

25  {
26  global $DIC;
27 
28  $this->lng = ($a_lng)
29  ? $a_lng
30  : $DIC->language();
31  }
global $DIC
Definition: saml.php:7

Member Function Documentation

◆ cloneSpecificProperties()

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

Clone type specific properties of an assignment.

Parameters
ilExAssignment$source
ilExAssignment$target

Implements ilExAssignmentTypeInterface.

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

87  {
88  }

◆ getSubmissionType()

ilExAssTypeText::getSubmissionType ( )

Get submission type.

Returns
string

Implements ilExAssignmentTypeInterface.

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

References ilExSubmission\TYPE_TEXT.

71  {
73  }

◆ getTitle()

ilExAssTypeText::getTitle ( )

Get title of type.

Returns
string

Implements ilExAssignmentTypeInterface.

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

References $lng.

61  {
62  $lng = $this->lng;
63 
64  return $lng->txt("exc_type_text");
65  }

◆ isActive()

ilExAssTypeText::isActive ( )

Is assignment type active?

Returns
bool

Implements ilExAssignmentTypeInterface.

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

37  {
38  return true;
39  }

◆ isSubmissionAssignedToTeam()

ilExAssTypeText::isSubmissionAssignedToTeam ( )

Get submission type.

Returns
string

Implements ilExAssignmentTypeInterface.

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

79  {
80  return false;
81  }

◆ usesFileUpload()

ilExAssTypeText::usesFileUpload ( )

Uses file upload.

Returns
bool

Implements ilExAssignmentTypeInterface.

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

53  {
54  return false;
55  }

◆ usesTeams()

ilExAssTypeText::usesTeams ( )

Uses teams.

Returns
bool

Implements ilExAssignmentTypeInterface.

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

45  {
46  return false;
47  }

Field Documentation

◆ $lng

ilExAssTypeText::$lng
protected

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

Referenced by getTitle().


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