ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilBiblFactoryFacade.php
Go to the documentation of this file.
1<?php
2
25{
26 protected \ilBiblLibraryFactory $library_factory;
27 protected \ilBiblAttributeFactoryInterface $attribute_factory;
28 protected int $object_id;
29 protected int $ref_id;
30 protected \ilBiblFileReaderFactory $file_reader_factory;
31 protected \ilBiblEntryFactory $entry_factory;
32 protected \ilBiblTranslationFactory $translation_factory;
33 protected \ilBiblFieldFactory $field_factory;
34 protected \ilBiblFieldFilterFactory $filter_factory;
35 protected \ilBiblTypeFactory $type_factory;
36 protected \ilBiblOverviewModelFactory $overview_factory;
37 protected \ilBiblTypeInterface $type;
38 protected \ilBiblDataFactory $data_factory;
39
40
44 public function __construct(ilObjBibliographic $ilObjBibliographic)
45 {
46 $this->object_id = $ilObjBibliographic->getId();
47 $this->ref_id = $ilObjBibliographic->getRefId();
48 $this->type_factory = new ilBiblTypeFactory();
49 $this->type = $this->typeFactory()->getInstanceForType($ilObjBibliographic->getFileType());
50 $this->filter_factory = new ilBiblFieldFilterFactory();
51 $this->field_factory = new ilBiblFieldFactory($this->type_factory->getInstanceForType($ilObjBibliographic->getFileType()));
52 $this->translation_factory = new ilBiblTranslationFactory($this->field_factory);
53 $this->overview_factory = new ilBiblOverviewModelFactory();
54 $this->entry_factory = new ilBiblEntryFactory($this->fieldFactory(), $this->type(), $this->overview_factory);
55 $this->file_reader_factory = new ilBiblFileReaderFactory();
56 $this->attribute_factory = new ilBiblAttributeFactory($this->fieldFactory());
57 $this->library_factory = new ilBiblLibraryFactory();
58 $this->data_factory = new ilBiblDataFactory();
59 }
60
61
66 {
68 }
69
70
74 public function type(): \ilBiblTypeInterface
75 {
76 return $this->type;
77 }
78
79
84 {
86 }
87
88
93 {
95 }
96
97
102 {
104 }
105
106
111 {
113 }
114
115
120 {
122 }
123
124
129 {
131 }
132
133
138 {
140 }
141
142
146 public function iliasObjId(): int
147 {
148 return $this->object_id;
149 }
150
151
155 public function iliasRefId(): int
156 {
157 return $this->ref_id;
158 }
159
160
162 {
163 return $this->data_factory;
164 }
165
166
171 {
173 }
174}
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ilBiblEntryFactory $entry_factory
__construct(ilObjBibliographic $ilObjBibliographic)
ilBiblFactoryFacade constructor.
ilBiblAttributeFactoryInterface $attribute_factory
ilBiblOverviewModelFactory $overview_factory
ilBiblFieldFilterFactory $filter_factory
ilBiblTranslationFactory $translation_factory
ilBiblFileReaderFactory $file_reader_factory
ilBiblFieldFactory $field_factory
ilBiblLibraryFactory $library_factory
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Class ilBiblTranslationFactory.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Class ilObjBibliographic.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Interface ilBiblEntryFactoryInterface.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...