ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilBiblFactoryFacade Class Reference

Class ilBiblFactoryFacade. 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

 $library_factory
 
 $attribute_factory
 
 $object_id
 
 $ref_id
 
 $file_reader_factory
 
 $entry_factory
 
 $translation_factory
 
 $field_factory
 
 $filter_factory
 
 $type_factory
 
 $overview_factory
 
 $type
 
 $data_factory
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ilBiblFactoryFacade::__construct ( ilObjBibliographic  $ilObjBibliographic)

ilBiblFactoryFacade constructor.

Parameters
\ilObjBibliographic$ilObjBibliographic

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

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

70  {
71  $this->object_id = $ilObjBibliographic->getId();
72  $this->ref_id = $ilObjBibliographic->getRefId();
73  $this->type_factory = new ilBiblTypeFactory();
74  $this->type = $this->typeFactory()->getInstanceForType($ilObjBibliographic->getFileType());
75  $this->filter_factory = new ilBiblFieldFilterFactory();
76  $this->field_factory = new ilBiblFieldFactory($this->type_factory->getInstanceForType($ilObjBibliographic->getFileType()));
77  $this->translation_factory = new ilBiblTranslationFactory($this->field_factory);
78  $this->overview_factory = new ilBiblOverviewModelFactory();
79  $this->entry_factory = new ilBiblEntryFactory($this->fieldFactory(), $this->type(), $this->overview_factory);
80  $this->file_reader_factory = new ilBiblFileReaderFactory();
81  $this->attribute_factory = new ilBiblAttributeFactory($this->fieldFactory());
82  $this->library_factory = new ilBiblLibraryFactory();
83  $this->data_factory = new ilBiblDataFactory();
84  }
Class ilBiblTypeFactory.
Class ilBiblFieldFilterFactory.
Class ilBiblEntryFactory.
Class ilBiblTranslationFactory.
Class ilBiblAttributeFactory.
Class ilBiblLibraryFactory.
Class ilBiblDataFactory.
Class ilBiblFieldFactory.
Class ilBiblFileReaderFactory.
Class ilBiblOverviewModelFactory.
+ Here is the call graph for this function:

Member Function Documentation

◆ attributeFactory()

ilBiblFactoryFacade::attributeFactory ( )

Implements ilBiblFactoryFacadeInterface.

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

References $attribute_factory.

◆ dataFactory()

ilBiblFactoryFacade::dataFactory ( )
Returns

Implements ilBiblFactoryFacadeInterface.

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

References $data_factory.

185  {
186  return $this->data_factory;
187  }

◆ entryFactory()

ilBiblFactoryFacade::entryFactory ( )

Implements ilBiblFactoryFacadeInterface.

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

References $entry_factory.

134  {
135  return $this->entry_factory;
136  }

◆ fieldFactory()

ilBiblFactoryFacade::fieldFactory ( )

Implements ilBiblFactoryFacadeInterface.

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

References $field_factory.

Referenced by __construct().

116  {
117  return $this->field_factory;
118  }
+ Here is the caller graph for this function:

◆ fileReaderFactory()

ilBiblFactoryFacade::fileReaderFactory ( )

Implements ilBiblFactoryFacadeInterface.

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

References $file_reader_factory.

◆ filterFactory()

ilBiblFactoryFacade::filterFactory ( )

Implements ilBiblFactoryFacadeInterface.

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

References $filter_factory.

152  {
153  return $this->filter_factory;
154  }

◆ iliasObjId()

ilBiblFactoryFacade::iliasObjId ( )

Implements ilBiblFactoryFacadeInterface.

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

References $object_id.

170  {
171  return $this->object_id;
172  }

◆ iliasRefId()

ilBiblFactoryFacade::iliasRefId ( )

Implements ilBiblFactoryFacadeInterface.

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

References $ref_id.

179  {
180  return $this->ref_id;
181  }

◆ libraryFactory()

ilBiblFactoryFacade::libraryFactory ( )

Implements ilBiblFactoryFacadeInterface.

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

References $library_factory.

107  {
108  return $this->library_factory;
109  }

◆ overviewModelFactory()

ilBiblFactoryFacade::overviewModelFactory ( )

Implements ilBiblFactoryFacadeInterface.

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

References $overview_factory.

◆ translationFactory()

ilBiblFactoryFacade::translationFactory ( )

Implements ilBiblFactoryFacadeInterface.

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

References $translation_factory.

◆ type()

ilBiblFactoryFacade::type ( )

Implements ilBiblFactoryFacadeInterface.

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

References $type.

Referenced by __construct().

99  {
100  return $this->type;
101  }
+ Here is the caller graph for this function:

◆ typeFactory()

ilBiblFactoryFacade::typeFactory ( )

Implements ilBiblFactoryFacadeInterface.

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

References $type_factory.

Referenced by __construct().

+ Here is the caller graph for this function:

Field Documentation

◆ $attribute_factory

ilBiblFactoryFacade::$attribute_factory
protected

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

Referenced by attributeFactory().

◆ $data_factory

ilBiblFactoryFacade::$data_factory
protected

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

Referenced by dataFactory().

◆ $entry_factory

ilBiblFactoryFacade::$entry_factory
protected

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

Referenced by entryFactory().

◆ $field_factory

ilBiblFactoryFacade::$field_factory
protected

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

Referenced by fieldFactory().

◆ $file_reader_factory

ilBiblFactoryFacade::$file_reader_factory
protected

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

Referenced by fileReaderFactory().

◆ $filter_factory

ilBiblFactoryFacade::$filter_factory
protected

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

Referenced by filterFactory().

◆ $library_factory

ilBiblFactoryFacade::$library_factory
protected

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

Referenced by libraryFactory().

◆ $object_id

ilBiblFactoryFacade::$object_id
protected

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

Referenced by iliasObjId().

◆ $overview_factory

ilBiblFactoryFacade::$overview_factory
protected

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

Referenced by overviewModelFactory().

◆ $ref_id

ilBiblFactoryFacade::$ref_id
protected

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

Referenced by iliasRefId().

◆ $translation_factory

ilBiblFactoryFacade::$translation_factory
protected

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

Referenced by translationFactory().

◆ $type

ilBiblFactoryFacade::$type
protected

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

Referenced by type().

◆ $type_factory

ilBiblFactoryFacade::$type_factory
protected

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

Referenced by typeFactory().


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