public function LdapTestFunctions::getCsvLdapData in Lightweight Directory Access Protocol (LDAP) 8.2
Same name and namespace in other branches
- 7.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 355
Class
Code
public function getCsvLdapData($test_ldap_id) {
foreach (array(
'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);
}
}