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