ILIAS  release_8 Revision v8.19-1-g4e8f2f9140c
All Data Structures Namespaces Files Functions Variables Modules Pages
ILIAS\Notes\InternalRepoService Class Reference

Notes internal repo service. More...

+ Collaboration diagram for ILIAS\Notes\InternalRepoService:

Public Member Functions

 __construct (InternalDataService $data, \ilDBInterface $db)
 
 note ()
 
 notesSession ()
 
 settings ()
 

Protected Attributes

InternalDataService $data
 
ilDBInterface $db
 

Detailed Description

Notes internal repo service.

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

Definition at line 27 of file class.InternalRepoService.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Notes\InternalRepoService::__construct ( InternalDataService  $data,
\ilDBInterface  $db 
)

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

References ILIAS\Notes\InternalRepoService\$data, and ILIAS\Notes\InternalRepoService\$db.

33  {
34  $this->data = $data;
35  $this->db = $db;
36  }

Member Function Documentation

◆ note()

ILIAS\Notes\InternalRepoService::note ( )

Definition at line 38 of file class.InternalRepoService.php.

Referenced by ILIAS\Notes\NotesManager\__construct().

38  : NoteDBRepository
39  {
40  return new NoteDBRepository(
41  $this->data,
42  $this->db
43  );
44  }
+ Here is the caller graph for this function:

◆ notesSession()

ILIAS\Notes\InternalRepoService::notesSession ( )

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

Referenced by ILIAS\Notes\NotesManager\__construct().

46  : NotesSessionRepository
47  {
48  return new NotesSessionRepository();
49  }
+ Here is the caller graph for this function:

◆ settings()

ILIAS\Notes\InternalRepoService::settings ( )

Definition at line 51 of file class.InternalRepoService.php.

Referenced by ILIAS\Notes\NotesManager\__construct().

51  : NoteSettingsDBRepository
52  {
53  return new NoteSettingsDBRepository(
54  $this->data,
55  $this->db
56  );
57  }
+ Here is the caller graph for this function:

Field Documentation

◆ $data

InternalDataService ILIAS\Notes\InternalRepoService::$data
protected

◆ $db

ilDBInterface ILIAS\Notes\InternalRepoService::$db
protected

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