ILIAS  trunk Revision v11.0_alpha-1866-gfa368f7776e
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilRisTags 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 ilRisTags:

Static Public Member Functions

static getTags ()
 
static getTypes ()
 
static describeTag (string $tag)
 
static describeType (string $type)
 

Static Public Attributes

static array $tagMap
 
static array static array $tagDescriptions
 
static array $typeMap
 

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 This class has been adapted from the original RISReader class in the abandoned technosophos/LibRIS library. Many thanks to technosophos for the original work!

See also
https://github.com/technosophos/LibRIS/blob/master/src/LibRIS/RISTags.php

Definition at line 24 of file class.ilRisTags.php.

Member Function Documentation

◆ describeTag()

static ilRisTags::describeTag ( string  $tag)
static

Definition at line 36 of file class.ilRisTags.php.

References null.

36  : ?string
37  {
38  return self::$tagMap[$tag] ?? null;
39  }
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null

◆ describeType()

static ilRisTags::describeType ( string  $type)
static

Definition at line 41 of file class.ilRisTags.php.

References null.

41  : ?string
42  {
43  return self::$typeMap[$type] ?? null;
44  }
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null

◆ getTags()

static ilRisTags::getTags ( )
static

Definition at line 26 of file class.ilRisTags.php.

26  : array
27  {
28  return array_keys(self::$tagMap);
29  }

◆ getTypes()

static ilRisTags::getTypes ( )
static

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

31  : array
32  {
33  return array_keys(self::$typeMap);
34  }

Field Documentation

◆ $tagDescriptions

array static array ilRisTags::$tagDescriptions
static
Initial value:
= [
'TY' => 'Type of reference (must be the first tag)'

Definition at line 102 of file class.ilRisTags.php.

◆ $tagMap

array ilRisTags::$tagMap
static
Initial value:
= [
'TY' => 'Type'

Definition at line 52 of file class.ilRisTags.php.

◆ $typeMap

array ilRisTags::$typeMap
static
Initial value:
= [
'ABST' => 'Abstract'

Definition at line 155 of file class.ilRisTags.php.


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