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

Repository internal repo service. More...

+ Collaboration diagram for ILIAS\Container\Content\RepoService:

Public Member Functions

 __construct (InternalDataService $data, \ilDBInterface $db)
 
 item ()
 
 view ()
 
 block ()
 

Protected Attributes

InternalDataService $data
 
ilDBInterface $db
 

Detailed Description

Repository internal repo service.

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\Container\Content\RepoService::__construct ( InternalDataService  $data,
\ilDBInterface  $db 
)

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

References ILIAS\Container\Content\RepoService\$data, and ILIAS\Container\Content\RepoService\$db.

35  {
36  $this->data = $data;
37  $this->db = $db;
38  }

Member Function Documentation

◆ block()

ILIAS\Container\Content\RepoService::block ( )

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

50  : BlockSessionRepository
51  {
52  return new BlockSessionRepository();
53  }

◆ item()

ILIAS\Container\Content\RepoService::item ( )

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

40  : ItemSessionRepository
41  {
42  return new ItemSessionRepository();
43  }

◆ view()

ILIAS\Container\Content\RepoService::view ( )

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

45  : ViewSessionRepository
46  {
47  return new ViewSessionRepository();
48  }

Field Documentation

◆ $data

InternalDataService ILIAS\Container\Content\RepoService::$data
protected

◆ $db

ilDBInterface ILIAS\Container\Content\RepoService::$db
protected

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