ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilBiblAdminFactoryFacade.php
Go to the documentation of this file.
1<?php
2
25{
26 protected \ilBiblTranslationFactory $translation_factory;
27 protected \ilBiblFieldFactory $field_factory;
28 protected \ilBiblTypeInterface $type;
29 protected \ilBiblTypeFactory $type_factory;
30 protected int $object_id;
31 protected int $ref_id;
32
33
37 public function __construct(ilObjBibliographicAdmin $ilObjBibliographicAdmin, int $type_id)
38 {
39 $this->object_id = $ilObjBibliographicAdmin->getId();
40 $this->ref_id = $ilObjBibliographicAdmin->getRefId();
41 $this->type_factory = new ilBiblTypeFactory();
42 $this->type = $this->type_factory->getInstanceForType($type_id);
43 $this->field_factory = new ilBiblFieldFactory($this->type);
44 $this->translation_factory = new ilBiblTranslationFactory($this->field_factory);
45 }
46
47
52 {
54 }
55
56
60 public function type(): \ilBiblTypeInterface
61 {
62 return $this->type;
63 }
64
65
70 {
72 }
73
74
79 {
81 }
82
83
87 public function iliasObjId(): int
88 {
89 return $this->object_id;
90 }
91
92
96 public function iliasRefId(): int
97 {
98 return $this->ref_id;
99 }
100}
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ilBiblTranslationFactory $translation_factory
__construct(ilObjBibliographicAdmin $ilObjBibliographicAdmin, int $type_id)
ilBiblAdminFactoryFacade constructor.
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...
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...