ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilDerivedTask Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Collaboration diagram for ilDerivedTask:

Public Member Functions

 __construct (string $title, int $ref_id, int $deadline, int $starting_time, int $wsp_id)
 Constructor. More...
 
 getRefId ()
 Get ref id. More...
 
 getWspId ()
 Get wsp id. More...
 
 getDeadline ()
 
 getStartingTime ()
 
 getTitle ()
 
 withUrl (string $url)
 
 getUrl ()
 

Protected Attributes

string $title
 
int $ref_id
 
int $deadline
 
int $starting_time
 
int $wsp_id
 
string $url = ''
 

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 Derived task data object

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

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

Constructor & Destructor Documentation

◆ __construct()

ilDerivedTask::__construct ( string  $title,
int  $ref_id,
int  $deadline,
int  $starting_time,
int  $wsp_id 
)

Constructor.

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

42 {
43 $this->title = $title;
44 $this->ref_id = $ref_id;
45 $this->deadline = $deadline;
46 $this->starting_time = $starting_time;
47 $this->wsp_id = $wsp_id;
48 }

References $deadline, $ref_id, $starting_time, $title, and $wsp_id.

Member Function Documentation

◆ getDeadline()

ilDerivedTask::getDeadline ( )
Returns
int

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

73 : int
74 {
75 return $this->deadline;
76 }

References $deadline.

◆ getRefId()

ilDerivedTask::getRefId ( )

Get ref id.

Returns
int

Definition at line 55 of file class.ilDerivedTask.php.

55 : int
56 {
57 return $this->ref_id;
58 }

References $ref_id.

◆ getStartingTime()

ilDerivedTask::getStartingTime ( )
Returns
int

Definition at line 81 of file class.ilDerivedTask.php.

81 : int
82 {
84 }

References $starting_time.

◆ getTitle()

ilDerivedTask::getTitle ( )
Returns
string

Definition at line 89 of file class.ilDerivedTask.php.

89 : string
90 {
91 return $this->title;
92 }

References $title.

◆ getUrl()

ilDerivedTask::getUrl ( )

Definition at line 102 of file class.ilDerivedTask.php.

102 : string
103 {
104 return $this->url;
105 }

References $url.

◆ getWspId()

ilDerivedTask::getWspId ( )

Get wsp id.

Returns
int

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

65 : int
66 {
67 return $this->wsp_id;
68 }

References $wsp_id.

◆ withUrl()

ilDerivedTask::withUrl ( string  $url)

Definition at line 94 of file class.ilDerivedTask.php.

94 : self
95 {
96 $clone = clone $this;
97 $clone->url = $url;
98
99 return $clone;
100 }

References $url.

Field Documentation

◆ $deadline

int ilDerivedTask::$deadline
protected

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

Referenced by __construct(), and getDeadline().

◆ $ref_id

int ilDerivedTask::$ref_id
protected

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

Referenced by __construct(), and getRefId().

◆ $starting_time

int ilDerivedTask::$starting_time
protected

Definition at line 32 of file class.ilDerivedTask.php.

Referenced by __construct(), and getStartingTime().

◆ $title

string ilDerivedTask::$title
protected

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

Referenced by __construct(), and getTitle().

◆ $url

string ilDerivedTask::$url = ''
protected

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

Referenced by getUrl(), and withUrl().

◆ $wsp_id

int ilDerivedTask::$wsp_id
protected

Definition at line 34 of file class.ilDerivedTask.php.

Referenced by __construct(), and getWspId().


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