ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilExAssTypePortfolio 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 ilExAssTypePortfolio:
+ Collaboration diagram for ilExAssTypePortfolio:

Public Member Functions

 __construct (?ilSetting $a_setting=null, ?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

const STR_IDENTIFIER = "prtf"
 
ilSetting $setting
 
ilLanguage $lng
 
string $identifier_str
 

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

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

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

Constructor & Destructor Documentation

◆ __construct()

ilExAssTypePortfolio::__construct ( ?ilSetting  $a_setting = null,
?ilLanguage  $a_lng = null 
)

Constructor.

Parameters
ilSetting | null$a_setting
ilLanguage | null$a_lng

Definition at line 38 of file class.ilExAssTypePortfolio.php.

39 {
40 global $DIC;
41
42 $this->setting = ($a_setting)
43 ?: $DIC["ilSetting"];
44
45 $this->lng = ($a_lng)
46 ?: $DIC->language();
47 }
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()

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

Implements ilExAssignmentTypeInterface.

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

84 : void
85 {
86 }

◆ getExportObjIdForResourceId()

ilExAssTypePortfolio::getExportObjIdForResourceId ( int  $resource_id)

Definition at line 98 of file class.ilExAssTypePortfolio.php.

98 : int
99 {
100 return $resource_id;
101 }

◆ getStringIdentifier()

ilExAssTypePortfolio::getStringIdentifier ( )

Implements ilExAssignmentTypeInterface.

Definition at line 93 of file class.ilExAssTypePortfolio.php.

93 : string
94 {
96 }

References STR_IDENTIFIER.

◆ getSubmissionType()

ilExAssTypePortfolio::getSubmissionType ( )

Implements ilExAssignmentTypeInterface.

Definition at line 74 of file class.ilExAssTypePortfolio.php.

74 : string
75 {
77 }

References ilExSubmission\TYPE_OBJECT.

◆ getTitle()

ilExAssTypePortfolio::getTitle ( )

Implements ilExAssignmentTypeInterface.

Definition at line 67 of file class.ilExAssTypePortfolio.php.

67 : string
68 {
70
71 return $lng->txt("exc_type_portfolio");
72 }
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()

ilExAssTypePortfolio::isActive ( )

Implements ilExAssignmentTypeInterface.

Definition at line 49 of file class.ilExAssTypePortfolio.php.

49 : bool
50 {
51 if ($this->setting->get('user_portfolios')) {
52 return true;
53 }
54 return false;
55 }

◆ isSubmissionAssignedToTeam()

ilExAssTypePortfolio::isSubmissionAssignedToTeam ( )

Implements ilExAssignmentTypeInterface.

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

79 : bool
80 {
81 return false;
82 }

◆ supportsWebDirAccess()

ilExAssTypePortfolio::supportsWebDirAccess ( )

Implements ilExAssignmentTypeInterface.

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

88 : bool
89 {
90 return true;
91 }

◆ usesFileUpload()

ilExAssTypePortfolio::usesFileUpload ( )

Implements ilExAssignmentTypeInterface.

Definition at line 62 of file class.ilExAssTypePortfolio.php.

62 : bool
63 {
64 return false;
65 }

◆ usesTeams()

ilExAssTypePortfolio::usesTeams ( )

Implements ilExAssignmentTypeInterface.

Definition at line 57 of file class.ilExAssTypePortfolio.php.

57 : bool
58 {
59 return false;
60 }

Field Documentation

◆ $identifier_str

string ilExAssTypePortfolio::$identifier_str
protected

Definition at line 30 of file class.ilExAssTypePortfolio.php.

◆ $lng

ilLanguage ilExAssTypePortfolio::$lng
protected

Definition at line 29 of file class.ilExAssTypePortfolio.php.

Referenced by getTitle().

◆ $setting

ilSetting ilExAssTypePortfolio::$setting
protected

Definition at line 28 of file class.ilExAssTypePortfolio.php.

◆ STR_IDENTIFIER

const ilExAssTypePortfolio::STR_IDENTIFIER = "prtf"
protected

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

Referenced by getStringIdentifier().


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