public function LdapTestFunctions::setFakeServerProperty in Lightweight Directory Access Protocol (LDAP) 7.2
Same name and namespace in other branches
- 8.2 ldap_test/LdapTestFunctions.class.php \LdapTestFunctions::setFakeServerProperty()
- 7 ldap_servers/tests/LdapTestFunctions.class.php \LdapTestFunctions::setFakeServerProperty()
File
- ldap_test/
LdapTestFunctions.class.php, line 54
Class
Code
public function setFakeServerProperty($sid, $prop, $value) {
$test_data = variable_get('ldap_test_server__' . $sid, []);
$test_data['properties'][$prop] = $value;
variable_set('ldap_test_server__' . $sid, $test_data);
}