24 include_once
'./Services/Component/classes/class.ilPlugin.php';
25 include_once
'./Services/LDAP/interfaces/interface.ilLDAPRoleAssignmentPlugin.php';
85 protected function checkValue($a_user_data, $a_keyword, $a_value)
87 if (!$a_user_data[$a_keyword]) {
90 if (is_array($a_user_data[$a_keyword])) {
91 foreach ($a_user_data[$a_keyword] as
$values) {
92 if (strcasecmp(trim($values), $a_value) == 0) {
98 if (strcasecmp(trim($a_user_data[$a_keyword]), trim($a_value)) == 0) {
checkValue($a_user_data, $a_keyword, $a_value)
Check if user data matches a keyword value combination.