ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
class.ilRisWrapper.php
Go to the documentation of this file.
1<?php
2require_once('./libs/composer/vendor/autoload.php');
4
11
16 public function parseContent($content) {
17 $RISReader = new RISReader();
18
19 $RISReader->parseString($content);
20
21 return $RISReader->getRecords();
22 }
23
24
30 public function parseFile($path_to_file) {
31 $RISReader = new RISReader();
32
33 $RISReader->parseFile($path_to_file);
34
35 return $RISReader->getRecords();
36 }
37}
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)