ILIAS  release_8 Revision v8.19-1-g4e8f2f9140c
All Data Structures Namespaces Files Functions Variables Modules Pages
ilCertificateVerificationClassMap 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 ilCertificateVerificationClassMap:

Public Member Functions

 getVerificationTypeByType (string $type)
 

Private Member Functions

 typeExistsInMap (string $type)
 

Private Attributes

array $map
 

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

Author
Niels Theen nthee.nosp@m.n@da.nosp@m.tabay.nosp@m..de

Definition at line 19 of file class.ilCertificateVerificationClassMap.php.

Member Function Documentation

◆ getVerificationTypeByType()

ilCertificateVerificationClassMap::getVerificationTypeByType ( string  $type)
Exceptions
ilException

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

References $type, and typeExistsInMap().

35  : string {
36  if (false === $this->typeExistsInMap($type)) {
37  throw new ilException('The given type ' . $type . 'is not mapped as a verification type on the class map');
38  }
39  return $this->map[$type];
40  }
$type
+ Here is the call graph for this function:

◆ typeExistsInMap()

ilCertificateVerificationClassMap::typeExistsInMap ( string  $type)
private

Definition at line 42 of file class.ilCertificateVerificationClassMap.php.

Referenced by getVerificationTypeByType().

42  : bool
43  {
44  return array_key_exists($type, $this->map);
45  }
$type
+ Here is the caller graph for this function:

Field Documentation

◆ $map

array ilCertificateVerificationClassMap::$map
private
Initial value:
= array(
'crs' => 'crsv',
'tst' => 'tstv',
'exc' => 'excv',
'sahs' => 'scov',
'cmix' => 'cmxv',
'lti' => 'ltiv'
)

Definition at line 21 of file class.ilCertificateVerificationClassMap.php.


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