ILIAS  release_8 Revision v8.23
ilBiblFactoryFacade Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Inheritance diagram for ilBiblFactoryFacade:
+ Collaboration diagram for ilBiblFactoryFacade:

Public Member Functions

 __construct (ilObjBibliographic $ilObjBibliographic)
 ilBiblFactoryFacade constructor. More...
 
 typeFactory ()
 
 type ()
 
 libraryFactory ()
 
 fieldFactory ()
 
 translationFactory ()
 
 entryFactory ()
 
 fileReaderFactory ()
 
 filterFactory ()
 
 attributeFactory ()
 
 iliasObjId ()
 
 iliasRefId ()
 
 dataFactory ()
 
 overviewModelFactory ()
 

Protected Attributes

ilBiblLibraryFactory $library_factory
 
ilBiblAttributeFactoryInterface $attribute_factory
 
int $object_id
 
int $ref_id
 
ilBiblFileReaderFactory $file_reader_factory
 
ilBiblEntryFactory $entry_factory
 
ilBiblTranslationFactory $translation_factory
 
ilBiblFieldFactory $field_factory
 
ilBiblFieldFilterFactory $filter_factory
 
ilBiblTypeFactory $type_factory
 
ilBiblOverviewModelFactory $overview_factory
 
ilBiblTypeInterface $type
 
ilBiblDataFactory $data_factory
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Class ilBiblFactoryFacade

Author
Fabian Schmid fs@st.nosp@m.uder.nosp@m.-raim.nosp@m.ann..nosp@m.ch

Definition at line 24 of file class.ilBiblFactoryFacade.php.

Constructor & Destructor Documentation

◆ __construct()

ilBiblFactoryFacade::__construct ( ilObjBibliographic  $ilObjBibliographic)

ilBiblFactoryFacade constructor.

Definition at line 44 of file class.ilBiblFactoryFacade.php.

References fieldFactory(), ilObjBibliographic\getFileType(), ilObject\getId(), ilObject\getRefId(), type(), and typeFactory().

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  }
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...
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...
+ Here is the call graph for this function:

Member Function Documentation

◆ attributeFactory()

ilBiblFactoryFacade::attributeFactory ( )

Implements ilBiblFactoryFacadeInterface.

Definition at line 137 of file class.ilBiblFactoryFacade.php.

References $attribute_factory.

138  {
140  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ilBiblAttributeFactoryInterface $attribute_factory

◆ dataFactory()

ilBiblFactoryFacade::dataFactory ( )

Implements ilBiblFactoryFacadeInterface.

Definition at line 161 of file class.ilBiblFactoryFacade.php.

References $data_factory.

162  {
163  return $this->data_factory;
164  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

◆ entryFactory()

ilBiblFactoryFacade::entryFactory ( )

Implements ilBiblFactoryFacadeInterface.

Definition at line 110 of file class.ilBiblFactoryFacade.php.

References $entry_factory.

111  {
112  return $this->entry_factory;
113  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ilBiblEntryFactory $entry_factory

◆ fieldFactory()

ilBiblFactoryFacade::fieldFactory ( )

Implements ilBiblFactoryFacadeInterface.

Definition at line 92 of file class.ilBiblFactoryFacade.php.

References $field_factory.

Referenced by __construct().

93  {
94  return $this->field_factory;
95  }
ilBiblFieldFactory $field_factory
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
+ Here is the caller graph for this function:

◆ fileReaderFactory()

ilBiblFactoryFacade::fileReaderFactory ( )

Implements ilBiblFactoryFacadeInterface.

Definition at line 119 of file class.ilBiblFactoryFacade.php.

References $file_reader_factory.

120  {
122  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ilBiblFileReaderFactory $file_reader_factory

◆ filterFactory()

ilBiblFactoryFacade::filterFactory ( )

Implements ilBiblFactoryFacadeInterface.

Definition at line 128 of file class.ilBiblFactoryFacade.php.

References $filter_factory.

129  {
130  return $this->filter_factory;
131  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ilBiblFieldFilterFactory $filter_factory

◆ iliasObjId()

ilBiblFactoryFacade::iliasObjId ( )

Implements ilBiblFactoryFacadeInterface.

Definition at line 146 of file class.ilBiblFactoryFacade.php.

References $object_id.

146  : int
147  {
148  return $this->object_id;
149  }

◆ iliasRefId()

ilBiblFactoryFacade::iliasRefId ( )

Implements ilBiblFactoryFacadeInterface.

Definition at line 155 of file class.ilBiblFactoryFacade.php.

References $ref_id.

Referenced by ilBiblEntryTableGUI\__construct().

155  : int
156  {
157  return $this->ref_id;
158  }
+ Here is the caller graph for this function:

◆ libraryFactory()

ilBiblFactoryFacade::libraryFactory ( )

Implements ilBiblFactoryFacadeInterface.

Definition at line 83 of file class.ilBiblFactoryFacade.php.

References $library_factory.

84  {
86  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ilBiblLibraryFactory $library_factory

◆ overviewModelFactory()

ilBiblFactoryFacade::overviewModelFactory ( )

Implements ilBiblFactoryFacadeInterface.

Definition at line 170 of file class.ilBiblFactoryFacade.php.

References $overview_factory.

171  {
173  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ilBiblOverviewModelFactory $overview_factory

◆ translationFactory()

ilBiblFactoryFacade::translationFactory ( )

Implements ilBiblFactoryFacadeInterface.

Definition at line 101 of file class.ilBiblFactoryFacade.php.

References $translation_factory.

102  {
104  }
ilBiblTranslationFactory $translation_factory
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

◆ type()

ilBiblFactoryFacade::type ( )

Implements ilBiblFactoryFacadeInterface.

Definition at line 74 of file class.ilBiblFactoryFacade.php.

References $type.

Referenced by __construct().

75  {
76  return $this->type;
77  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
+ Here is the caller graph for this function:

◆ typeFactory()

ilBiblFactoryFacade::typeFactory ( )

Implements ilBiblFactoryFacadeInterface.

Definition at line 65 of file class.ilBiblFactoryFacade.php.

References $type_factory.

Referenced by __construct().

66  {
67  return $this->type_factory;
68  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
+ Here is the caller graph for this function:

Field Documentation

◆ $attribute_factory

ilBiblAttributeFactoryInterface ilBiblFactoryFacade::$attribute_factory
protected

Definition at line 27 of file class.ilBiblFactoryFacade.php.

Referenced by attributeFactory().

◆ $data_factory

ilBiblDataFactory ilBiblFactoryFacade::$data_factory
protected

Definition at line 38 of file class.ilBiblFactoryFacade.php.

Referenced by dataFactory().

◆ $entry_factory

ilBiblEntryFactory ilBiblFactoryFacade::$entry_factory
protected

Definition at line 31 of file class.ilBiblFactoryFacade.php.

Referenced by entryFactory().

◆ $field_factory

ilBiblFieldFactory ilBiblFactoryFacade::$field_factory
protected

Definition at line 33 of file class.ilBiblFactoryFacade.php.

Referenced by fieldFactory().

◆ $file_reader_factory

ilBiblFileReaderFactory ilBiblFactoryFacade::$file_reader_factory
protected

Definition at line 30 of file class.ilBiblFactoryFacade.php.

Referenced by fileReaderFactory().

◆ $filter_factory

ilBiblFieldFilterFactory ilBiblFactoryFacade::$filter_factory
protected

Definition at line 34 of file class.ilBiblFactoryFacade.php.

Referenced by filterFactory().

◆ $library_factory

ilBiblLibraryFactory ilBiblFactoryFacade::$library_factory
protected

Definition at line 26 of file class.ilBiblFactoryFacade.php.

Referenced by libraryFactory().

◆ $object_id

int ilBiblFactoryFacade::$object_id
protected

Definition at line 28 of file class.ilBiblFactoryFacade.php.

Referenced by iliasObjId().

◆ $overview_factory

ilBiblOverviewModelFactory ilBiblFactoryFacade::$overview_factory
protected

Definition at line 36 of file class.ilBiblFactoryFacade.php.

Referenced by overviewModelFactory().

◆ $ref_id

int ilBiblFactoryFacade::$ref_id
protected

Definition at line 29 of file class.ilBiblFactoryFacade.php.

Referenced by iliasRefId().

◆ $translation_factory

ilBiblTranslationFactory ilBiblFactoryFacade::$translation_factory
protected

Definition at line 32 of file class.ilBiblFactoryFacade.php.

Referenced by translationFactory().

◆ $type

ilBiblTypeInterface ilBiblFactoryFacade::$type
protected

Definition at line 37 of file class.ilBiblFactoryFacade.php.

Referenced by type().

◆ $type_factory

ilBiblTypeFactory ilBiblFactoryFacade::$type_factory
protected

Definition at line 35 of file class.ilBiblFactoryFacade.php.

Referenced by typeFactory().


The documentation for this class was generated from the following file: