ILIAS  trunk Revision v11.0_alpha-1761-g6dbbfa7b760
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator 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 22 of file class.ilCertificateVerificationClassMap.php.

Member Function Documentation

◆ getVerificationTypeByType()

ilCertificateVerificationClassMap::getVerificationTypeByType ( string  $type)
Exceptions
ilException

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

References typeExistsInMap().

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

◆ typeExistsInMap()

ilCertificateVerificationClassMap::typeExistsInMap ( string  $type)
private

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

Referenced by getVerificationTypeByType().

45  : bool
46  {
47  return array_key_exists($type, $this->map);
48  }
+ 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 24 of file class.ilCertificateVerificationClassMap.php.


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