You are here

public static function SimpleLdapUserMap::singleton in Simple LDAP 7

10 calls to SimpleLdapUserMap::singleton()
SimpleLdapUser::__construct in simple_ldap_user/SimpleLdapUser.class.php
Constructor.
SimpleLdapUserDeleteUserTestCase::testDeleteUser in simple_ldap_user/simple_ldap_user.test
Tests user deletion.
SimpleLdapUserModifyProfileWebTestCase::postProfileForm in simple_ldap_user/simple_ldap_user.test
Submits the user profile edit form.
SimpleLdapUserRegistrationTestCase::formData in simple_ldap_user/simple_ldap_user.test
Generate random data for user registration form.
SimpleLdapUserRegistrationTestCase::testRegistrationValues in simple_ldap_user/simple_ldap_user.test
Tests that the values used to register are properly saved.

... See full list

File

simple_ldap_user/SimpleLdapUserMap.class.php, line 11
Class defining the LDAP <-> Drupal user field mappings.

Class

SimpleLdapUserMap
@file Class defining the LDAP <-> Drupal user field mappings.

Code

public static function singleton($reset = FALSE) {
  if ($reset || !isset(self::$instance)) {
    self::$instance = new SimpleLdapUserMap();
  }
  return self::$instance;
}