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

Blog type. More...

+ Inheritance diagram for ilExAssTypeBlog:
+ Collaboration diagram for ilExAssTypeBlog:

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

Blog type.

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

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

Constructor & Destructor Documentation

◆ __construct()

ilExAssTypeBlog::__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.ilExAssTypeBlog.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()

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

Clone type specific properties of an assignment.

Parameters
ilExAssignment$source
ilExAssignment$target

Implements ilExAssignmentTypeInterface.

Definition at line 100 of file class.ilExAssTypeBlog.php.

101  {
102  }

◆ getSubmissionType()

ilExAssTypeBlog::getSubmissionType ( )

Get submission type.

Returns
string

Implements ilExAssignmentTypeInterface.

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

References ilExSubmission\TYPE_OBJECT.

85  {
87  }

◆ getTitle()

ilExAssTypeBlog::getTitle ( )

Get title of type.

Returns
string

Implements ilExAssignmentTypeInterface.

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

References $lng.

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

◆ isActive()

ilExAssTypeBlog::isActive ( )

Is assignment type active?

Returns
bool

Implements ilExAssignmentTypeInterface.

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

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

◆ isSubmissionAssignedToTeam()

ilExAssTypeBlog::isSubmissionAssignedToTeam ( )

Get submission type.

Returns
string

Implements ilExAssignmentTypeInterface.

Definition at line 92 of file class.ilExAssTypeBlog.php.

93  {
94  return false;
95  }

◆ usesFileUpload()

ilExAssTypeBlog::usesFileUpload ( )

Uses file upload.

Returns
bool

Implements ilExAssignmentTypeInterface.

Definition at line 66 of file class.ilExAssTypeBlog.php.

67  {
68  return false;
69  }

◆ usesTeams()

ilExAssTypeBlog::usesTeams ( )

Uses teams.

Returns
bool

Implements ilExAssignmentTypeInterface.

Definition at line 58 of file class.ilExAssTypeBlog.php.

59  {
60  return false;
61  }

Field Documentation

◆ $lng

ilExAssTypeBlog::$lng
protected

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

Referenced by getTitle().

◆ $setting

ilExAssTypeBlog::$setting
protected

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


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