ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
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 ()
 
 assignments ()
 

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 
)

Member Function Documentation

◆ assignments()

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

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

50 : AssignmentsDBRepository
51 {
52 return new AssignmentsDBRepository(
53 $this->data,
54 $this->db
55 );
56 }

◆ 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: