ILIAS  release_7 Revision v7.30-3-g800a261c036
All Data Structures Namespaces Files Functions Variables Modules Pages
ilBiblTypeFactoryInterface Interface Reference

Interface ilBiblTypeFactoryInterface. More...

+ Inheritance diagram for ilBiblTypeFactoryInterface:
+ Collaboration diagram for ilBiblTypeFactoryInterface:

Public Member Functions

 getInstanceForType (int $type)
 
 getInstanceForFileName (string $filename)
 
 getInstanceForString (string $string)
 
 convertFileEndingToDataType (string $file_ending)
 
 getDataTypeIdentifierByInstance (ilBiblTypeInterface $type_inst)
 

Data Fields

const DATA_TYPE_RIS = 1
 
const DATA_TYPE_BIBTEX = 2
 

Detailed Description

Member Function Documentation

◆ convertFileEndingToDataType()

ilBiblTypeFactoryInterface::convertFileEndingToDataType ( string  $file_ending)
Parameters
string$file_ending
Returns
int
Exceptions
ilExceptionwhen no data type for file_ending was found

Implemented in ilBiblTypeFactory.

◆ getDataTypeIdentifierByInstance()

ilBiblTypeFactoryInterface::getDataTypeIdentifierByInstance ( ilBiblTypeInterface  $type_inst)
Parameters
ilBiblTypeInterface$type_inst
Returns
int

Implemented in ilBiblTypeFactory.

◆ getInstanceForFileName()

ilBiblTypeFactoryInterface::getInstanceForFileName ( string  $filename)
Parameters
string$filename
Returns
Exceptions
ilExceptionwhen type not found

Implemented in ilBiblTypeFactory.

◆ getInstanceForString()

ilBiblTypeFactoryInterface::getInstanceForString ( string  $string)
Parameters
string$string
Returns
Deprecated:
Legacy REFACTOR use type factory

Implemented in ilBiblTypeFactory.

◆ getInstanceForType()

ilBiblTypeFactoryInterface::getInstanceForType ( int  $type)
Parameters
int$type
Returns
Exceptions
ilExceptionwhen type not found

Implemented in ilBiblTypeFactory.

Field Documentation

◆ DATA_TYPE_BIBTEX

◆ DATA_TYPE_RIS


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