ILIAS  release_7 Revision v7.30-3-g800a261c036
class.ilBiblFactoryFacade.php
Go to the documentation of this file.
1<?php
2
9{
10
22 protected $object_id;
26 protected $ref_id;
34 protected $entry_factory;
42 protected $field_factory;
46 protected $filter_factory;
50 protected $type_factory;
58 protected $type;
62 protected $data_factory;
63
64
70 public function __construct(ilObjBibliographic $ilObjBibliographic)
71 {
72 $this->object_id = $ilObjBibliographic->getId();
73 $this->ref_id = $ilObjBibliographic->getRefId();
74 $this->type_factory = new ilBiblTypeFactory();
75 $this->type = $this->typeFactory()->getInstanceForType($ilObjBibliographic->getFileType());
76 $this->filter_factory = new ilBiblFieldFilterFactory();
77 $this->field_factory = new ilBiblFieldFactory($this->type_factory->getInstanceForType($ilObjBibliographic->getFileType()));
78 $this->translation_factory = new ilBiblTranslationFactory($this->field_factory);
79 $this->overview_factory = new ilBiblOverviewModelFactory();
80 $this->entry_factory = new ilBiblEntryFactory($this->fieldFactory(), $this->type(), $this->overview_factory);
81 $this->file_reader_factory = new ilBiblFileReaderFactory();
82 $this->attribute_factory = new ilBiblAttributeFactory($this->fieldFactory());
83 $this->library_factory = new ilBiblLibraryFactory();
84 $this->data_factory = new ilBiblDataFactory();
85 }
86
87
91 public function typeFactory()
92 {
94 }
95
96
100 public function type()
101 {
102 return $this->type;
103 }
104
105
109 public function libraryFactory()
110 {
112 }
113
114
118 public function fieldFactory()
119 {
121 }
122
123
127 public function translationFactory()
128 {
130 }
131
132
136 public function entryFactory()
137 {
139 }
140
141
145 public function fileReaderFactory()
146 {
148 }
149
150
154 public function filterFactory()
155 {
157 }
158
159
163 public function attributeFactory()
164 {
166 }
167
168
172 public function iliasObjId()
173 {
174 return $this->object_id;
175 }
176
177
181 public function iliasRefId()
182 {
183 return $this->ref_id;
184 }
185
186
187 public function dataFactory()
188 {
189 return $this->data_factory;
190 }
191
192
196 public function overviewModelFactory()
197 {
199 }
200}
An exception for terminatinating execution or to throw for unit testing.
Class ilBiblAttributeFactory.
Class ilBiblDataFactory.
Class ilBiblEntryFactory.
Class ilBiblFactoryFacade.
__construct(ilObjBibliographic $ilObjBibliographic)
ilBiblFactoryFacade constructor.
Class ilBiblFieldFactory.
Class ilBiblFieldFilterFactory.
Class ilBiblFileReaderFactory.
Class ilBiblLibraryFactory.
Class ilBiblOverviewModelFactory.
Class ilBiblTranslationFactory.
Class ilBiblTypeFactory.
Class ilObjBibliographic.
getRefId()
get reference id @access public
getId()
get object id @access public
Interface ilBiblFactoryFacadeInterface.