ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ilRisWrapper Class Reference

Class ilRisWrapper. More...

+ Collaboration diagram for ilRisWrapper:

Public Member Functions

 parseContent ($content)
 
 parseFile ($path_to_file)
 

Detailed Description

Class ilRisWrapper.

Author
Fabian Schmid fs@st.nosp@m.uder.nosp@m.-raim.nosp@m.ann..nosp@m.ch

Definition at line 9 of file class.ilRisWrapper.php.

Member Function Documentation

◆ parseContent()

ilRisWrapper::parseContent (   $content)
Parameters
$content
Returns
array

Definition at line 17 of file class.ilRisWrapper.php.

18  {
19  $RISReader = new RISReader();
20 
21  $RISReader->parseString($content);
22 
23  return $RISReader->getRecords();
24  }
The main class for parsing RIS files.
Definition: RISReader.php:60

◆ parseFile()

ilRisWrapper::parseFile (   $path_to_file)
Parameters
$path_to_file
Returns
null
Exceptions

Definition at line 33 of file class.ilRisWrapper.php.

34  {
35  $RISReader = new RISReader();
36 
37  $RISReader->parseFile($path_to_file);
38 
39  return $RISReader->getRecords();
40  }
The main class for parsing RIS files.
Definition: RISReader.php:60

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