ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
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
Exceptions
ilExceptionwhen no data type for file_ending was found
Returns
int

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
Exceptions
ilExceptionwhen type not found
Returns

Implemented in ilBiblTypeFactory.

◆ getInstanceForString()

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

Implemented in ilBiblTypeFactory.

◆ getInstanceForType()

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

Implemented in ilBiblTypeFactory.

Field Documentation

◆ DATA_TYPE_BIBTEX

◆ DATA_TYPE_RIS


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