You are here

public function LdapUserConfAdmin::save in Lightweight Directory Access Protocol (LDAP) 7.2

Same name and namespace in other branches
  1. 8.2 ldap_user/LdapUserConfAdmin.class.php \LdapUserConfAdmin::save()
1 call to LdapUserConfAdmin::save()
LdapUserConfAdmin::drupalFormSubmit in ldap_user/LdapUserConfAdmin.class.php
Method to respond to successfully validated form submit.

File

ldap_user/LdapUserConfAdmin.class.php, line 63

Class

LdapUserConfAdmin

Code

public function save() {
  foreach ($this->saveable as $property) {
    $save[$property] = $this->{$property};
  }
  variable_set('ldap_user_conf', $save);
  ldap_user_conf_cache_clear();
}