public static function LdapServer::field_to_properties_map in Lightweight Directory Access Protocol (LDAP) 7.2
Same name and namespace in other branches
- 8.2 ldap_servers/LdapServer.class.php \LdapServer::field_to_properties_map()
- 7 ldap_servers/LdapServer.class.php \LdapServer::field_to_properties_map()
Direct mapping of db to object properties.
Return value
array
6 calls to LdapServer::field_to_properties_map()
- LdapServer::__construct in ldap_servers/
LdapServer.class.php - Constructor Method.
- LdapServerAdmin::drupalForm in ldap_servers/
LdapServerAdmin.class.php - LdapServerAdmin::save in ldap_servers/
LdapServerAdmin.class.php - LdapServersTestCase::testUIForms in ldap_servers/
tests/ ldap_servers.test - ldap_help_get_ldap_servers in ldap_help/
ldap_help.status.inc
File
- ldap_servers/
LdapServer.class.php, line 179 - Defines server classes and related functions.
Class
- LdapServer
- LDAP Server Class.
Code
public static function field_to_properties_map() {
return [
'sid' => 'sid',
'numeric_sid' => 'numericSid',
'name' => 'name',
'status' => 'status',
'ldap_type' => 'ldap_type',
'address' => 'address',
'port' => 'port',
'tls' => 'tls',
'followrefs' => 'followrefs',
'bind_method' => 'bind_method',
'basedn' => 'basedn',
'binddn' => 'binddn',
'user_dn_expression' => 'user_dn_expression',
'user_attr' => 'user_attr',
'account_name_attr' => 'account_name_attr',
'mail_attr' => 'mail_attr',
'mail_template' => 'mail_template',
'picture_attr' => 'picture_attr',
'unique_persistent_attr' => 'unique_persistent_attr',
'unique_persistent_attr_binary' => 'unique_persistent_attr_binary',
'ldap_to_drupal_user' => 'ldapToDrupalUserPhp',
'testing_drupal_username' => 'testingDrupalUsername',
'testing_drupal_user_dn' => 'testingDrupalUserDn',
'grp_unused' => 'groupFunctionalityUnused',
'grp_object_cat' => 'groupObjectClass',
'grp_nested' => 'groupNested',
'grp_user_memb_attr_exists' => 'groupUserMembershipsAttrExists',
'grp_user_memb_attr' => 'groupUserMembershipsAttr',
'grp_memb_attr' => 'groupMembershipsAttr',
'grp_memb_attr_match_user_attr' => 'groupMembershipsAttrMatchingUserAttr',
'grp_derive_from_dn' => 'groupDeriveFromDn',
'grp_derive_from_dn_attr' => 'groupDeriveFromDnAttr',
'grp_test_grp_dn' => 'groupTestGroupDn',
'grp_test_grp_dn_writeable' => 'groupTestGroupDnWriteable',
'search_pagination' => 'searchPagination',
'search_page_size' => 'searchPageSize',
];
}