43 $mapping_rule =
array();
48 $mapping_rule[
'firstname'] =
'givenName';
49 $mapping_rule[
'institution'] =
'o';
50 $mapping_rule[
'department'] =
'departmentNumber';
51 $mapping_rule[
'phone_home'] =
'homePhone';
52 $mapping_rule[
'phone_mobile'] =
'mobile';
53 $mapping_rule[
'email'] =
'mail';
54 $mapping_rule[
'photo'] =
'jpegPhoto';
57 case 'organizationalPerson':
58 $mapping_rule[
'fax'] =
'facsimileTelephoneNumber';
59 $mapping_rule[
'title'] =
'title';
60 $mapping_rule[
'street'] =
'street';
61 $mapping_rule[
'zipcode'] =
'postalCode';
62 $mapping_rule[
'city'] =
'l';
63 $mapping_rule[
'country'] =
'st';
67 $mapping_rule[
'lastname'] =
'sn';
68 $mapping_rule[
'phone_office'] =
'telephoneNumber';
72 $mapping_rule[
'firstname'] =
'givenName';
73 $mapping_rule[
'lastname'] =
'sn';
74 $mapping_rule[
'title'] =
'title';
75 $mapping_rule[
'institution'] =
'company';
76 $mapping_rule[
'department'] =
'department';
77 $mapping_rule[
'phone_home'] =
'telephoneNumber';
78 $mapping_rule[
'phone_mobile'] =
'mobile';
79 $mapping_rule[
'email'] =
'mail';
80 $mapping_rule[
'street'] =
'streetAddress';
81 $mapping_rule[
'city'] =
'l,st';
82 $mapping_rule[
'country'] =
'co';
83 $mapping_rule[
'zipcode'] =
'postalCode';
84 $mapping_rule[
'fax'] =
'facsimileTelephoneNumber';
87 return $mapping_rule ? $mapping_rule :
array();
A collection of static utility functions for LDAP attribute mapping.
Create styles array
The data for the language used.
static _getMappingRulesByClass($a_class)
Get mapping rule by objectClass.