ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
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 
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  {
93  return $this->type_factory;
94  }
95 
96 
100  public function type()
101  {
102  return $this->type;
103  }
104 
105 
109  public function libraryFactory()
110  {
111  return $this->library_factory;
112  }
113 
114 
118  public function fieldFactory()
119  {
120  return $this->field_factory;
121  }
122 
123 
127  public function translationFactory()
128  {
130  }
131 
132 
136  public function entryFactory()
137  {
138  return $this->entry_factory;
139  }
140 
141 
145  public function fileReaderFactory()
146  {
148  }
149 
150 
154  public function filterFactory()
155  {
156  return $this->filter_factory;
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 }
Class ilBiblTypeFactory.
Interface ilBiblFactoryFacadeInterface.
Class ilBiblFieldFilterFactory.
getId()
get object id public
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.