ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
◀ ilDoc Overview
class.ilRisWrapper.php
Go to the documentation of this file.
1
<?
php
2
require_once(
'./libs/composer/vendor/autoload.php'
);
3
use
LibRIS\RISReader
;
4
10
class
ilRisWrapper
{
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
}
ilRisWrapper\parseFile
parseFile($path_to_file)
Definition:
class.ilRisWrapper.php:30
ilRisWrapper
Class ilRisWrapper.
Definition:
class.ilRisWrapper.php:10
RISReader
LibRIS\RISReader
The main class for parsing RIS files.
Definition:
RISReader.php:60
php
ilRisWrapper\parseContent
parseContent($content)
Definition:
class.ilRisWrapper.php:16
Modules
Bibliographic
classes
Types
Ris
class.ilRisWrapper.php
Generated on Fri Feb 21 2025 19:00:57 for ILIAS by
1.8.13 (using
Doxyfile
)