19declare(strict_types=1);
77 if (isset($limited_to)) {
78 $set = $repo->getMDOnPath($limited_to, $obj_id, $sub_id, $type);
80 $set = $repo->getMD($obj_id, $sub_id, $type);
87 if (isset($this->searcher)) {
88 return $this->searcher;
90 return $this->searcher =
new Searcher(
91 $this->internal_services->search()->searchClauseFactory(),
92 $this->internal_services->search()->searchFilterFactory(),
93 $this->internal_services->repository()->repository()
104 $set = $repo->getMD($obj_id, $sub_id, $type);
105 return $this->manipulatorFactory()->get($set);
110 if (isset($this->derivation_source_selector)) {
111 return $this->derivation_source_selector;
114 $this->internal_services->repository()->repository(),
116 $this->internal_services->manipulator()->manipulator(),
117 $this->internal_services->paths()->pathFactory(),
118 $this->internal_services->manipulator()->scaffoldProvider()
123 public function deleteAll(
int $obj_id,
int $sub_id,
string $type): void
130 $repo->deleteAllMD($obj_id, $sub_id, $type);
135 if (isset($this->paths)) {
138 return $this->paths =
new Paths(
139 $this->internal_services->paths()->pathFactory()
145 if (isset($this->data_helper)) {
146 return $this->data_helper;
149 $this->internal_services->dataHelper()->dataHelper(),
150 $this->internal_services->presentation()->data()
156 if (isset($this->copyright_helper)) {
157 return $this->copyright_helper;
161 $this->internal_services->paths()->pathFactory(),
162 $this->internal_services->copyright()->repository(),
163 $this->internal_services->copyright()->identifiersHandler(),
164 $this->internal_services->copyright()->renderer(),
165 $this->internal_services->search()->searchClauseFactory()
171 if (isset($this->reader_factory)) {
172 return $this->reader_factory;
174 return $this->reader_factory =
new ReaderFactory(
175 $this->internal_services->paths()->navigatorFactory()
181 if (isset($this->manipulator_factory)) {
182 return $this->manipulator_factory;
184 return $this->manipulator_factory =
new ManipulatorFactory(
185 $this->internal_services->manipulator()->manipulator(),
186 $this->internal_services->repository()->repository()
192 return $this->internal_services->repository()->repository();
Customizing of pimple-DIC for ILIAS.
if(!file_exists('../ilias.ini.php'))