ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
class.ilBiblRisFileReaderWrapper.php
Go to the documentation of this file.
1<?php
2
4
11{
12
18 public function parseContent($content)
19 {
20 $RISReader = new RISReader();
21
22 $RISReader->parseString($content);
23
24 return $RISReader->getRecords();
25 }
26
27
34 public function parseFile($path_to_file)
35 {
36 $RISReader = new RISReader();
37
38 $RISReader->parseFile($path_to_file);
39
40 return $RISReader->getRecords();
41 }
42}
An exception for terminatinating execution or to throw for unit testing.
The main class for parsing RIS files.
Definition: RISReader.php:60
Class ilBiblRisFileReaderWrapper.