ILIAS  release_8 Revision v8.19-1-g4e8f2f9140c
All Data Structures Namespaces Files Functions Variables Modules Pages
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  {
67  return $this->type_factory;
68  }
69 
70 
74  public function type(): \ilBiblTypeInterface
75  {
76  return $this->type;
77  }
78 
79 
84  {
86  }
87 
88 
93  {
94  return $this->field_factory;
95  }
96 
97 
102  {
104  }
105 
106 
111  {
112  return $this->entry_factory;
113  }
114 
115 
120  {
122  }
123 
124 
129  {
130  return $this->filter_factory;
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...
ilBiblFieldFactory $field_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...
ilBiblFileReaderFactory $file_reader_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...
ilBiblEntryFactory $entry_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...
ilBiblTranslationFactory $translation_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...
ilBiblFieldFilterFactory $filter_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...
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...
ilBiblAttributeFactoryInterface $attribute_factory
__construct(ilObjBibliographic $ilObjBibliographic)
ilBiblFactoryFacade constructor.
Class ilObjBibliographic.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ilBiblOverviewModelFactory $overview_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...
ilBiblLibraryFactory $library_factory