ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ILIAS\Style\Content\InternalRepoService Class Reference

Content style internal repo service. More...

+ Collaboration diagram for ILIAS\Style\Content\InternalRepoService:

Public Member Functions

 __construct (InternalDataService $data_factory, ilDBInterface $db, Filesystem\Filesystem $web_files, FileUpload $upload)
 
 characteristic ()
 
 characteristicCopyPaste ()
 
 color ()
 
 image ()
 
 repositoryContainer ()
 
 object ()
 Objects without ref id (e.g. More...
 

Protected Attributes

ilDBInterface $db
 
InternalDataService $data_factory
 
ColorDBRepo $color_repo
 
CharacteristicDBRepo $characteristic_repo
 
CharacteristicCopyPasteSessionRepo $characteristic_copy_paste_repo
 
ImageFileRepo $image_repo
 
FileUpload $upload
 

Detailed Description

Content style internal repo service.

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

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

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Style\Content\InternalRepoService::__construct ( InternalDataService  $data_factory,
ilDBInterface  $db,
Filesystem\Filesystem  $web_files,
FileUpload  $upload 
)

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

References ILIAS\Repository\InternalRepoService\$db, and ILIAS\Repository\upload().

46  {
47  $this->db = $db;
48  $this->data_factory = $data_factory;
49  $this->upload = $upload;
50 
51  $this->color_repo = new ColorDBRepo(
52  $db,
53  $data_factory
54  );
55  $this->characteristic_repo = new CharacteristicDBRepo(
56  $db,
57  $data_factory
58  );
59  $this->image_repo = new ImageFileRepo(
60  $data_factory,
61  $web_files,
62  $upload
63  );
64  $this->characteristic_copy_paste_repo =
65  new CharacteristicCopyPasteSessionRepo();
66  }
+ Here is the call graph for this function:

Member Function Documentation

◆ characteristic()

ILIAS\Style\Content\InternalRepoService::characteristic ( )

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

69  : CharacteristicDBRepo {
70  return $this->characteristic_repo;
71  }

◆ characteristicCopyPaste()

ILIAS\Style\Content\InternalRepoService::characteristicCopyPaste ( )

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

74  : CharacteristicCopyPasteSessionRepo {
75  return $this->characteristic_copy_paste_repo;
76  }

◆ color()

ILIAS\Style\Content\InternalRepoService::color ( )

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

78  : ColorDBRepo
79  {
80  return $this->color_repo;
81  }

◆ image()

ILIAS\Style\Content\InternalRepoService::image ( )

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

83  : ImageFileRepo
84  {
85  return $this->image_repo;
86  }

◆ object()

ILIAS\Style\Content\InternalRepoService::object ( )

Objects without ref id (e.g.

portfolios) can use the manager with a ref_id of 0, e.g. to get selectable styles

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

Referenced by ILIAS\Style\Content\Object\ObjectManager\__construct().

99  : Object\ObjectDBRepository
100  {
101  return new Object\ObjectDBRepository(
102  $this->db
103  );
104  }
+ Here is the caller graph for this function:

◆ repositoryContainer()

ILIAS\Style\Content\InternalRepoService::repositoryContainer ( )

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

Referenced by ILIAS\Style\Content\Container\ContainerManager\__construct(), and ILIAS\Style\Content\Object\ObjectManager\__construct().

88  : Container\ContainerDBRepository
89  {
90  return new Container\ContainerDBRepository(
91  $this->db
92  );
93  }
+ Here is the caller graph for this function:

Field Documentation

◆ $characteristic_copy_paste_repo

CharacteristicCopyPasteSessionRepo ILIAS\Style\Content\InternalRepoService::$characteristic_copy_paste_repo
protected

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

◆ $characteristic_repo

CharacteristicDBRepo ILIAS\Style\Content\InternalRepoService::$characteristic_repo
protected

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

◆ $color_repo

ColorDBRepo ILIAS\Style\Content\InternalRepoService::$color_repo
protected

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

◆ $data_factory

InternalDataService ILIAS\Style\Content\InternalRepoService::$data_factory
protected

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

◆ $db

ilDBInterface ILIAS\Style\Content\InternalRepoService::$db
protected

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

◆ $image_repo

ImageFileRepo ILIAS\Style\Content\InternalRepoService::$image_repo
protected

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

◆ $upload

FileUpload ILIAS\Style\Content\InternalRepoService::$upload
protected

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


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