ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilCertificateVerificationClassMap Class Reference
+ Collaboration diagram for ilCertificateVerificationClassMap:

Public Member Functions

 getVerificationTypeByType (string $type)
 

Private Member Functions

 typeExistsInMap (string $type)
 

Private Attributes

 $map
 

Detailed Description

Member Function Documentation

◆ getVerificationTypeByType()

ilCertificateVerificationClassMap::getVerificationTypeByType ( string  $type)
Parameters
string$type
Returns
string
Exceptions
ilException

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

21 : string
22 {
23 if (false === $this->typeExistsInMap($type)) {
24 throw new ilException('The given type ' . $type . 'is not mapped as a verification type on the class map');
25 }
26
27 return $this->map[$type];
28 }
Base class for ILIAS Exception handling.
$type

References $type, and typeExistsInMap().

+ Here is the call graph for this function:

◆ typeExistsInMap()

ilCertificateVerificationClassMap::typeExistsInMap ( string  $type)
private
Parameters
string$type
Returns
bool

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

34 : bool
35 {
36 return array_key_exists($type, $this->map);
37 }

References $type.

Referenced by getVerificationTypeByType().

+ Here is the caller graph for this function:

Field Documentation

◆ $map

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

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


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