ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
class.ilBiblAdminFactoryFacade.php
Go to the documentation of this file.
1<?php
2
9{
10
18 protected $field_factory;
22 protected $type;
26 protected $type_factory;
30 protected $object_id;
34 protected $ref_id;
35
36
42 public function __construct(ilObjBibliographicAdmin $ilObjBibliographicAdmin, $type_id)
43 {
44 $this->object_id = $ilObjBibliographicAdmin->getId();
45 $this->ref_id = $ilObjBibliographicAdmin->getRefId();
46 $this->type_factory = new ilBiblTypeFactory();
47 $this->type = $this->type_factory->getInstanceForType($type_id);
48 $this->field_factory = new ilBiblFieldFactory($this->type);
49 $this->translation_factory = new ilBiblTranslationFactory($this->field_factory);
50 }
51
52
56 public function typeFactory()
57 {
59 }
60
61
65 public function type()
66 {
67 return $this->type;
68 }
69
70
74 public function translationFactory()
75 {
77 }
78
79
83 public function fieldFactory()
84 {
86 }
87
88
92 public function iliasObjId()
93 {
94 return $this->object_id;
95 }
96
97
101 public function iliasRefId()
102 {
103 return $this->ref_id;
104 }
105}
An exception for terminatinating execution or to throw for unit testing.
Interface ilBiblAdminFactoryFacade.
__construct(ilObjBibliographicAdmin $ilObjBibliographicAdmin, $type_id)
ilBiblAdminFactoryFacade constructor.
Class ilBiblFieldFactory.
Class ilBiblTranslationFactory.
Class ilBiblTypeFactory.
Class ilObjBibliographicAdmin.
getRefId()
get reference id @access public
getId()
get object id @access public