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

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

References $data, and ILIAS\$db.

Member Function Documentation

◆ note()

ILIAS\Notes\InternalRepoService::note ( )

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

38 : NoteDBRepository
39 {
40 return new NoteDBRepository(
41 $this->data,
42 $this->db
43 );
44 }

◆ notesSession()

ILIAS\Notes\InternalRepoService::notesSession ( )

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

46 : NotesSessionRepository
47 {
48 return new NotesSessionRepository();
49 }

◆ settings()

ILIAS\Notes\InternalRepoService::settings ( )

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

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

Field Documentation

◆ $data

InternalDataService ILIAS\Notes\InternalRepoService::$data
protected

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

◆ $db

ilDBInterface ILIAS\Notes\InternalRepoService::$db
protected

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


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