@@ 349-355 (lines=7) @@ | ||
346 | * @brief returns the ldif entry for the VCard properties that don't have a ldap correspondance |
|
347 | * @return string|false |
|
348 | */ |
|
349 | public function getUnassignedVCardProperty() { |
|
350 | if ($this->config_content != null && $this->config_content->ldap_entries[0]->ldap_core[0]->unassigned_vcard_property['ldap_name'] != null) { |
|
351 | return ($this->config_content->ldap_entries[0]->ldap_core[0]->unassigned_vcard_property['ldap_name']); |
|
352 | } else { |
|
353 | return false; |
|
354 | } |
|
355 | } |
|
356 | ||
357 | /** |
|
358 | * @brief get the id attribute in the ldap |
|
@@ 361-367 (lines=7) @@ | ||
358 | * @brief get the id attribute in the ldap |
|
359 | * @return string|false |
|
360 | */ |
|
361 | public function getLdapId() { |
|
362 | if ($this->config_content != null && $this->config_content->ldap_entries[0]->ldap_core[0]->ldap_id['name'] != null) { |
|
363 | return ($this->config_content->ldap_entries[0]->ldap_core[0]->ldap_id['name']); |
|
364 | } else { |
|
365 | return false; |
|
366 | } |
|
367 | } |
|
368 | ||
369 | /** |
|
370 | * @brief get the xml config name |