ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
class.ilBiblFactoryFacade.php
Go to the documentation of this file.
1 <?php
2 
9 {
10 
14  protected $library_factory;
18  protected $attribute_factory;
22  protected $object_id;
26  protected $ref_id;
34  protected $entry_factory;
42  protected $field_factory;
46  protected $filter_factory;
50  protected $type_factory;
54  protected $overview_factory;
58  protected $type;
62  protected $data_factory;
63 
69  public function __construct(ilObjBibliographic $ilObjBibliographic)
70  {
71  $this->object_id = $ilObjBibliographic->getId();
72  $this->ref_id = $ilObjBibliographic->getRefId();
73  $this->type_factory = new ilBiblTypeFactory();
74  $this->type = $this->typeFactory()->getInstanceForType($ilObjBibliographic->getFileType());
75  $this->filter_factory = new ilBiblFieldFilterFactory();
76  $this->field_factory = new ilBiblFieldFactory($this->type_factory->getInstanceForType($ilObjBibliographic->getFileType()));
77  $this->translation_factory = new ilBiblTranslationFactory($this->field_factory);
78  $this->overview_factory = new ilBiblOverviewModelFactory();
79  $this->entry_factory = new ilBiblEntryFactory($this->fieldFactory(), $this->type(), $this->overview_factory);
80  $this->file_reader_factory = new ilBiblFileReaderFactory();
81  $this->attribute_factory = new ilBiblAttributeFactory($this->fieldFactory());
82  $this->library_factory = new ilBiblLibraryFactory();
83  $this->data_factory = new ilBiblDataFactory();
84  }
85 
86 
90  public function typeFactory()
91  {
92  return $this->type_factory;
93  }
94 
98  public function type()
99  {
100  return $this->type;
101  }
102 
106  public function libraryFactory()
107  {
108  return $this->library_factory;
109  }
110 
111 
115  public function fieldFactory()
116  {
117  return $this->field_factory;
118  }
119 
120 
124  public function translationFactory()
125  {
127  }
128 
129 
133  public function entryFactory()
134  {
135  return $this->entry_factory;
136  }
137 
138 
142  public function fileReaderFactory()
143  {
145  }
146 
147 
151  public function filterFactory()
152  {
153  return $this->filter_factory;
154  }
155 
156 
160  public function attributeFactory()
161  {
163  }
164 
165 
169  public function iliasObjId()
170  {
171  return $this->object_id;
172  }
173 
174 
178  public function iliasRefId()
179  {
180  return $this->ref_id;
181  }
182 
183 
184  public function dataFactory()
185  {
186  return $this->data_factory;
187  }
188 
189 
193  public function overviewModelFactory()
194  {
196  }
197 }
Class ilBiblTypeFactory.
Interface ilBiblFactoryFacadeInterface.
Class ilBiblFieldFilterFactory.
Class ilBiblEntryFactory.
Class ilBiblTranslationFactory.
Class ilBiblAttributeFactory.
Class ilBiblLibraryFactory.
Class ilBiblDataFactory.
Class ilBiblFieldFactory.
__construct(ilObjBibliographic $ilObjBibliographic)
ilBiblFactoryFacade constructor.
Class ilObjBibliographic.
Class ilBiblFactoryFacade.
Class ilBiblFileReaderFactory.
Class ilBiblOverviewModelFactory.