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

Class ilBiblRisFileReader. More...

+ Inheritance diagram for ilBiblRisFileReader:
+ Collaboration diagram for ilBiblRisFileReader:

Public Member Functions

 parseContent ()
 
- Public Member Functions inherited from ilBiblFileReaderBase
 __construct (ilBiblEntryFactoryInterface $entry_factory, ilBiblFieldFactoryInterface $field_factory, ilBiblAttributeFactoryInterface $attribute_factory)
 ilBiblFileReaderBase constructor. More...
 
 getFileContent ()
 
 setFileContent ($file_content)
 
 getPathToFile ()
 
 setPathToFile ($path_to_file)
 
 getEntryFactory ()
 
Returns
ilBiblEntryFactoryInterface
More...
 
 getFieldFactory ()
 
Returns
ilBiblFieldFactoryInterface
More...
 
 getAttributeFactory ()
 
- Public Member Functions inherited from ilBiblFileReaderInterface
 readContent ($path_to_file)
 

Additional Inherited Members

- Data Fields inherited from ilBiblFileReaderBase
const ATTRIBUTE_VALUE_MAXIMAL_TEXT_LENGTH = 4000
 
const ENCODING_UTF_8 = 'UTF-8'
 
const ENCODING_ASCII = 'ASCII'
 
const ENCODING_ISO_8859_1 = 'ISO-8859-1'
 
- Protected Member Functions inherited from ilBiblFileReaderBase
 convertStringToUTF8 ($string)
 
- Protected Attributes inherited from ilBiblFileReaderBase
 $file_content = ''
 
 $path_to_file = ''
 
 $entry_factory
 
 $field_factory
 
 $attribute_factory
 

Detailed Description

Member Function Documentation

◆ parseContent()

ilBiblRisFileReader::parseContent ( )
Returns
array

Implements ilBiblFileReaderInterface.

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

References $DIC.

15  {
16  global $DIC;
17  $ilRisWrapper = new ilBiblRisFileReaderWrapper();
18 
19  return $ilRisWrapper->parseFile($DIC->filesystem()
20  ->storage()
21  ->readStream($this->path_to_file)
22  ->getMetadata('uri'));
23  }
global $DIC
Definition: saml.php:7
Class ilBiblRisFileReaderWrapper.

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