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

Portfolio type. More...

+ Inheritance diagram for ilExAssTypePortfolio:
+ Collaboration diagram for ilExAssTypePortfolio:

Public Member Functions

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

 $setting
 
 $lng
 

Detailed Description

Portfolio type.

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

Definition at line 12 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 30 of file class.ilExAssTypePortfolio.php.

References $DIC.

31  {
32  global $DIC;
33 
34  $this->setting = ($a_setting)
35  ? $a_setting
36  : $DIC["ilSetting"];
37 
38  $this->lng = ($a_lng)
39  ? $a_lng
40  : $DIC->language();
41  }
global $DIC
Definition: saml.php:7

Member Function Documentation

◆ cloneSpecificProperties()

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

Clone type specific properties of an assignment.

Parameters
ilExAssignment$source
ilExAssignment$target

Implements ilExAssignmentTypeInterface.

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

100  {
101  }

◆ getSubmissionType()

ilExAssTypePortfolio::getSubmissionType ( )

Get submission type.

Returns
string

Implements ilExAssignmentTypeInterface.

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

References ilExSubmission\TYPE_OBJECT.

84  {
86  }

◆ getTitle()

ilExAssTypePortfolio::getTitle ( )

Get title of type.

Returns
string

Implements ilExAssignmentTypeInterface.

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

References $lng.

74  {
75  $lng = $this->lng;
76 
77  return $lng->txt("exc_type_portfolio");
78  }

◆ isActive()

ilExAssTypePortfolio::isActive ( )

Is assignment type active?

Returns
bool

Implements ilExAssignmentTypeInterface.

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

47  {
48  if ($this->setting->get('user_portfolios')) {
49  return true;
50  }
51  return false;
52  }

◆ isSubmissionAssignedToTeam()

ilExAssTypePortfolio::isSubmissionAssignedToTeam ( )

Get submission type.

Returns
string

Implements ilExAssignmentTypeInterface.

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

92  {
93  return false;
94  }

◆ usesFileUpload()

ilExAssTypePortfolio::usesFileUpload ( )

Uses file upload.

Returns
bool

Implements ilExAssignmentTypeInterface.

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

66  {
67  return false;
68  }

◆ usesTeams()

ilExAssTypePortfolio::usesTeams ( )

Uses teams.

Returns
bool

Implements ilExAssignmentTypeInterface.

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

58  {
59  return false;
60  }

Field Documentation

◆ $lng

ilExAssTypePortfolio::$lng
protected

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

Referenced by getTitle().

◆ $setting

ilExAssTypePortfolio::$setting
protected

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


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