19declare(strict_types=1);
72 if (isset($limited_to)) {
73 $set = $repo->getMDOnPath($limited_to, $obj_id, $sub_id, $type);
75 $set = $repo->getMD($obj_id, $sub_id, $type);
82 if (isset($this->searcher)) {
83 return $this->searcher;
85 return $this->searcher =
new Searcher(
86 $this->internal_services->search()->searchClauseFactory(),
87 $this->internal_services->search()->searchFilterFactory(),
88 $this->internal_services->repository()->repository()
99 $set = $repo->getMD($obj_id, $sub_id, $type);
100 return $this->manipulatorFactory()->get($set);
105 if (isset($this->derivation_source_selector)) {
106 return $this->derivation_source_selector;
109 $this->internal_services->repository()->repository(),
111 $this->internal_services->manipulator()->manipulator(),
112 $this->internal_services->paths()->pathFactory(),
113 $this->internal_services->manipulator()->scaffoldProvider()
118 public function deleteAll(
int $obj_id,
int $sub_id,
string $type): void
125 $repo->deleteAllMD($obj_id, $sub_id, $type);
130 if (isset($this->paths)) {
133 return $this->paths =
new Paths(
134 $this->internal_services->paths()->pathFactory()
140 if (isset($this->data_helper)) {
141 return $this->data_helper;
144 $this->internal_services->dataHelper()->dataHelper(),
145 $this->internal_services->presentation()->data()
151 if (isset($this->copyright_helper)) {
152 return $this->copyright_helper;
156 $this->internal_services->paths()->pathFactory(),
157 $this->internal_services->copyright()->repository(),
158 $this->internal_services->copyright()->identifiersHandler(),
159 $this->internal_services->copyright()->renderer(),
160 $this->internal_services->search()->searchClauseFactory()
166 if (isset($this->reader_factory)) {
167 return $this->reader_factory;
169 return $this->reader_factory =
new ReaderFactory(
170 $this->internal_services->paths()->navigatorFactory()
176 if (isset($this->manipulator_factory)) {
177 return $this->manipulator_factory;
179 return $this->manipulator_factory =
new ManipulatorFactory(
180 $this->internal_services->manipulator()->manipulator(),
181 $this->internal_services->repository()->repository()
187 return $this->internal_services->repository()->repository();
Customizing of pimple-DIC for ILIAS.
if(!file_exists('../ilias.ini.php'))