ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ILIAS\Exercise\InternalDataService Class Reference

Internal factory for data objects. More...

+ Collaboration diagram for ILIAS\Exercise\InternalDataService:

Public Member Functions

 __construct ()
 
 assignment (int $id, int $exc_id, string $title, int $order_nr, int $type, string $instructions, bool $mandatory, int $deadline_mode, int $deadline, int $deadline2, int $relative_deadline, int $rel_deadline_last_submission)
 
 resourceInformation (string $rid, string $title, int $size, int $creation_timestamp, string $mime_type, string $src)
 
 teamMember (int $team_id, int $assignment_id, int $user_id)
 
 submission (int $id, int $ass_id, int $user_id, int $team_id=0, string $title="", string $text="", string $rid="", string $mimetype="", string $timestamp="", bool $late=false)
 
 criteriaFile (int $ass_id, int $giver_id, int $peer_id, int $criteria_id, string $rid, string $title)
 
 settings (int $obj_id=0, string $instruction="", int $time_stamp=0, string $pass_mode=\ilObjExercise::PASS_MODE_ALL, int $nr_mandatory_random=0, int $pass_nr=0, bool $show_submissions=false, bool $compl_by_submission=false, int $certificate_visibility=0, int $tfeedback=7)
 

Detailed Description

Internal factory for data objects.

Definition at line 33 of file class.InternalDataService.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Exercise\InternalDataService::__construct ( )

Definition at line 35 of file class.InternalDataService.php.

36 {
37 }

Member Function Documentation

◆ assignment()

ILIAS\Exercise\InternalDataService::assignment ( int  $id,
int  $exc_id,
string  $title,
int  $order_nr,
int  $type,
string  $instructions,
bool  $mandatory,
int  $deadline_mode,
int  $deadline,
int  $deadline2,
int  $relative_deadline,
int  $rel_deadline_last_submission 
)

Definition at line 39 of file class.InternalDataService.php.

52 : Assignment {
53 return new Assignment(
54 $id,
55 $exc_id,
56 $title,
57 $order_nr,
58 $type,
59 $instructions,
60 $mandatory,
61 $deadline_mode,
62 $deadline,
63 $deadline2,
64 $relative_deadline,
65 $rel_deadline_last_submission
66 );
67 }
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23

◆ criteriaFile()

ILIAS\Exercise\InternalDataService::criteriaFile ( int  $ass_id,
int  $giver_id,
int  $peer_id,
int  $criteria_id,
string  $rid,
string  $title 
)

Definition at line 125 of file class.InternalDataService.php.

132 : CriteriaFile {
133 return new CriteriaFile(
134 $ass_id,
135 $giver_id,
136 $peer_id,
137 $criteria_id,
138 $rid,
139 $title
140 );
141 }

◆ resourceInformation()

ILIAS\Exercise\InternalDataService::resourceInformation ( string  $rid,
string  $title,
int  $size,
int  $creation_timestamp,
string  $mime_type,
string  $src 
)

Definition at line 69 of file class.InternalDataService.php.

76 : ResourceInformation {
77 return new ResourceInformation(
78 $rid,
79 $title,
80 $size,
81 $creation_timestamp,
82 $mime_type,
83 $src
84 );
85 }

◆ settings()

ILIAS\Exercise\InternalDataService::settings ( int  $obj_id = 0,
string  $instruction = "",
int  $time_stamp = 0,
string  $pass_mode = \ilObjExercise::PASS_MODE_ALL,
int  $nr_mandatory_random = 0,
int  $pass_nr = 0,
bool  $show_submissions = false,
bool  $compl_by_submission = false,
int  $certificate_visibility = 0,
int  $tfeedback = 7 
)

Definition at line 143 of file class.InternalDataService.php.

154 : Settings {
155 return new Settings(
156 $obj_id,
157 $instruction,
158 $time_stamp,
159 $pass_mode,
160 $nr_mandatory_random,
161 $pass_nr,
162 $show_submissions,
163 $compl_by_submission,
164 $certificate_visibility,
165 $tfeedback
166 );
167 }

◆ submission()

ILIAS\Exercise\InternalDataService::submission ( int  $id,
int  $ass_id,
int  $user_id,
int  $team_id = 0,
string  $title = "",
string  $text = "",
string  $rid = "",
string  $mimetype = "",
string  $timestamp = "",
bool  $late = false 
)

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

110 : Submission {
111 return new Submission(
112 $id,
113 $ass_id,
114 $user_id,
115 $team_id,
116 $title,
117 $text,
118 $rid,
119 $mimetype,
121 $late
122 );
123 }
foreach($mandatory_scripts as $file) $timestamp
Definition: buildRTE.php:70

◆ teamMember()

ILIAS\Exercise\InternalDataService::teamMember ( int  $team_id,
int  $assignment_id,
int  $user_id 
)

Definition at line 87 of file class.InternalDataService.php.

91 : TeamMember {
92 return new TeamMember(
93 $team_id,
94 $assignment_id,
96 );
97 }

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