ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ILIAS\Exercise\Assignment\RepoService Class Reference

Assignment repos. More...

+ Collaboration diagram for ILIAS\Exercise\Assignment\RepoService:

Public Member Functions

 __construct (InternalDataService $data, \ilDBInterface $db)
 
 randomAssignments ()
 

Protected Attributes

ilDBInterface $db
 
InternalDataService $data
 

Detailed Description

Assignment repos.

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

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

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Exercise\Assignment\RepoService::__construct ( InternalDataService  $data,
\ilDBInterface  $db 
)

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

References ILIAS\Exercise\Assignment\RepoService\$data, and ILIAS\Exercise\Assignment\RepoService\$db.

37  {
38  $this->db = $db;
39  $this->data = $data;
40  }

Member Function Documentation

◆ randomAssignments()

ILIAS\Exercise\Assignment\RepoService::randomAssignments ( )

Definition at line 42 of file class.RepoService.php.

42  : Mandatory\RandomAssignmentsDBRepository
43  {
44  return new Mandatory\RandomAssignmentsDBRepository(
45  $this->data,
46  $this->db
47  );
48  }

Field Documentation

◆ $data

InternalDataService ILIAS\Exercise\Assignment\RepoService::$data
protected

◆ $db

ilDBInterface ILIAS\Exercise\Assignment\RepoService::$db
protected

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