public function LdapTestFunctions::getCsvLdapData in Lightweight Directory Access Protocol (LDAP) 7.2
Same name and namespace in other branches
- 8.2 ldap_test/LdapTestFunctions.class.php \LdapTestFunctions::getCsvLdapData()
1 call to LdapTestFunctions::getCsvLdapData()
- LdapTestFunctions::populateFakeLdapServerData in ldap_test/
LdapTestFunctions.class.php - Set variable with fake test data.
File
- ldap_test/
LdapTestFunctions.class.php, line 406
Class
Code
public function getCsvLdapData($test_ldap_id) {
foreach ([
'groups',
'users',
'memberships',
'conf',
] as $type) {
$path = drupal_get_path('module', 'ldap_test') . '/test_ldap/' . $test_ldap_id . '/' . $type . '.csv';
$this->csvTables[$type] = $this
->parseCsv($path);
}
}