ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ILIAS\COPage\InternalRepoService Class Reference

Repository internal repo service. More...

+ Collaboration diagram for ILIAS\COPage\InternalRepoService:

Public Member Functions

 __construct (InternalDataService $data, \ilDBInterface $db)
 
 edit ()
 
 pc ()
 
 history ()
 
 usage ()
 

Protected Attributes

InternalDataService $data
 
ilDBInterface $db
 
Editor RepoService $edit_repo
 

Detailed Description

Repository internal repo service.

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

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

Constructor & Destructor Documentation

◆ __construct()

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

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

37 {
38 $this->data = $data;
39 $this->db = $db;
40 $this->edit_repo = new Editor\RepoService(
41 $this->data,
42 $this->db
43 );
44 }

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

Member Function Documentation

◆ edit()

ILIAS\COPage\InternalRepoService::edit ( )

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

46 : Editor\EditSessionRepository
47 {
48 return $this->edit_repo->edit();
49 }

◆ history()

ILIAS\COPage\InternalRepoService::history ( )

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

59 : HistoryDBRepository
60 {
61 return new HistoryDBRepository($this->db);
62 }

Referenced by ILIAS\COPage\History\HistoryManager\__construct().

+ Here is the caller graph for this function:

◆ pc()

ILIAS\COPage\InternalRepoService::pc ( )

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

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

◆ usage()

ILIAS\COPage\InternalRepoService::usage ( )

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

64 : UsageDBRepository
65 {
66 return new UsageDBRepository($this->db);
67 }

Field Documentation

◆ $data

InternalDataService ILIAS\COPage\InternalRepoService::$data
protected

◆ $db

ilDBInterface ILIAS\COPage\InternalRepoService::$db
protected

◆ $edit_repo

Editor RepoService ILIAS\COPage\InternalRepoService::$edit_repo
protected

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


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