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

Class ilRis. More...

+ Inheritance diagram for ilRis:
+ Collaboration diagram for ilRis:

Public Member Functions

 parseContent ()
 
- Public Member Functions inherited from ilBibliograficFileReaderBase
 getFileContent ()
 
 setFileContent ($file_content)
 
 getPathToFile ()
 
 setPathToFile ($path_to_file)
 
- Public Member Functions inherited from ilBibliograficFileReader
 readContent ($path_to_file)
 

Static Public Member Functions

static isStandardField ($field_name)
 
static isEntryType ($entry_ype)
 

Static Protected Attributes

static $standard_fields
 
static $entry_types
 

Additional Inherited Members

- Data Fields inherited from ilBibliograficFileReaderBase
const ENCODING_UTF_8 = 'UTF-8'
 
const ENCODING_ASCII = 'ASCII'
 
const ENCODING_ISO_8859_1 = 'ISO-8859-1'
 
- Protected Member Functions inherited from ilBibliograficFileReaderBase
 convertStringToUTF8 ($string)
 
- Protected Attributes inherited from ilBibliograficFileReaderBase
 $file_content = ''
 
 $path_to_file = ''
 

Detailed Description

Class ilRis.

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

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

Member Function Documentation

◆ isEntryType()

static ilRis::isEntryType (   $entry_ype)
static
Parameters
$entry_ype
Returns
bool

Definition at line 247 of file class.ilRis.php.

248  {
249  return in_array(strtoupper($entry_ype), self::$entry_types);
250  }

◆ isStandardField()

static ilRis::isStandardField (   $field_name)
static
Parameters
$field_name
Returns
bool

Definition at line 236 of file class.ilRis.php.

Referenced by ilBibliographicDetailsGUI\getInstance().

237  {
238  return in_array(strtoupper($field_name), self::$standard_fields);
239  }
+ Here is the caller graph for this function:

◆ parseContent()

ilRis::parseContent ( )
Returns
array

Implements ilBibliograficFileReader.

Definition at line 15 of file class.ilRis.php.

References $DIC.

16  {
17  global $DIC;
18  $ilRisWrapper = new ilRisWrapper();
19 
20  return $ilRisWrapper->parseFile($DIC->filesystem()
21  ->storage()
22  ->readStream($this->path_to_file)->getMetadata('uri'));
23  }
global $DIC
Definition: saml.php:7
Class ilRisWrapper.

Field Documentation

◆ $entry_types

ilRis::$entry_types
staticprotected

Definition at line 192 of file class.ilRis.php.

◆ $standard_fields

ilRis::$standard_fields
staticprotected

Definition at line 31 of file class.ilRis.php.


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