ILIAS  trunk Revision v11.0_alpha-2645-g16283d3b3f8
ilBiblRisFileReaderWrapper Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Collaboration diagram for ilBiblRisFileReaderWrapper:

Public Member Functions

 parseContent (string $content)
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Class ilBiblRisFileReaderWrapper

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

Definition at line 23 of file class.ilBiblRisFileReaderWrapper.php.

Member Function Documentation

◆ parseContent()

ilBiblRisFileReaderWrapper::parseContent ( string  $content)
Returns
mixed[]

Definition at line 28 of file class.ilBiblRisFileReaderWrapper.php.

References ilRisReader\RIS_EOL.

28  : array
29  {
30  $RISReader = new ilRisReader();
31  $re = '/\n|\r/m';
32  $content = preg_replace($re, ilRisReader::RIS_EOL, $content);
33  $RISReader->parseString($content);
34 
35  return $RISReader->getRecords();
36  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

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