3 declare(strict_types=1);
    31     protected function checkValue(array $a_user_data, 
string $a_keyword, 
string $a_value): bool
    33         if (!$a_user_data[$a_keyword]) {
    37         if (is_array($a_user_data[$a_keyword])) {
    38             foreach ($a_user_data[$a_keyword] as $values) {
    39                 if (strcasecmp(trim($values), $a_value) === 0) {
    46         if (strcasecmp(trim($a_user_data[$a_keyword]), trim($a_value)) === 0) {
 This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
checkValue(array $a_user_data, string $a_keyword, string $a_value)
Check if user data matches a keyword value combination.