ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
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 70 of file class.ilBiblFactoryFacade.php.

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

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  }
Class ilBiblTypeFactory.
Class ilBiblFieldFilterFactory.
getId()
get object id public
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 163 of file class.ilBiblFactoryFacade.php.

References $attribute_factory.

◆ dataFactory()

ilBiblFactoryFacade::dataFactory ( )
Returns

Implements ilBiblFactoryFacadeInterface.

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

References $data_factory.

188  {
189  return $this->data_factory;
190  }

◆ entryFactory()

ilBiblFactoryFacade::entryFactory ( )

Implements ilBiblFactoryFacadeInterface.

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

References $entry_factory.

137  {
138  return $this->entry_factory;
139  }

◆ fieldFactory()

ilBiblFactoryFacade::fieldFactory ( )

Implements ilBiblFactoryFacadeInterface.

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

References $field_factory.

Referenced by __construct().

119  {
120  return $this->field_factory;
121  }
+ Here is the caller graph for this function:

◆ fileReaderFactory()

ilBiblFactoryFacade::fileReaderFactory ( )

Implements ilBiblFactoryFacadeInterface.

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

References $file_reader_factory.

◆ filterFactory()

ilBiblFactoryFacade::filterFactory ( )

Implements ilBiblFactoryFacadeInterface.

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

References $filter_factory.

155  {
156  return $this->filter_factory;
157  }

◆ iliasObjId()

ilBiblFactoryFacade::iliasObjId ( )

Implements ilBiblFactoryFacadeInterface.

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

References $object_id.

173  {
174  return $this->object_id;
175  }

◆ iliasRefId()

ilBiblFactoryFacade::iliasRefId ( )

Implements ilBiblFactoryFacadeInterface.

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

References $ref_id.

Referenced by ilBiblEntryTableGUI\__construct().

182  {
183  return $this->ref_id;
184  }
+ Here is the caller graph for this function:

◆ libraryFactory()

ilBiblFactoryFacade::libraryFactory ( )

Implements ilBiblFactoryFacadeInterface.

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

References $library_factory.

110  {
111  return $this->library_factory;
112  }

◆ overviewModelFactory()

ilBiblFactoryFacade::overviewModelFactory ( )

Implements ilBiblFactoryFacadeInterface.

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

References $overview_factory.

◆ translationFactory()

ilBiblFactoryFacade::translationFactory ( )

Implements ilBiblFactoryFacadeInterface.

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

References $translation_factory.

◆ type()

ilBiblFactoryFacade::type ( )

Implements ilBiblFactoryFacadeInterface.

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

References $type.

Referenced by __construct().

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

◆ typeFactory()

ilBiblFactoryFacade::typeFactory ( )

Implements ilBiblFactoryFacadeInterface.

Definition at line 91 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: