ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
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 23 of file class.ilCertificateVerificationClassMap.php.

References $type, and typeExistsInMap().

23  : string
24  {
25  if (false === $this->typeExistsInMap($type)) {
26  throw new ilException('The given type ' . $type . 'is not mapped as a verification type on the class map');
27  }
28 
29  return $this->map[$type];
30  }
$type
+ Here is the call graph for this function:

◆ typeExistsInMap()

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

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

Referenced by getVerificationTypeByType().

36  : bool
37  {
38  return array_key_exists($type, $this->map);
39  }
$type
+ 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',
'cmix' => 'cmxv',
'lti' => 'ltiv'
)

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


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