-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
get contact #53
Comments
It looks to me like you were able to get the phone numbers, addresses and email addresses just fine. What problem are you having? |
I just want to get the phone mumber as a var and not as un object |
You know how to use PHP, right? You should be able to just get the value from the object... |
I find the way. I'm still disturbed by the ->get_() here my code: getContacts(); echo($contacts[2]->getItemId()->getId()).""; echo($contacts[2]->getGivenName())." "; echo($contacts[2]->getSurname())." "; echo($contacts[2]->getjobTitle())." "; echo($contacts[2]->getCompanyName())." "; echo($contacts[2]->getLastModifiedTime())." "; echo($contacts[2]->getPhysicalAddresses()->Entry->getStreet())." "; echo($contacts[2]->getPhysicalAddresses()->Entry->getPostalCode())." "; echo($contacts[2]->getPhysicalAddresses()->Entry->getCity())." "; echo($contacts[2]->getPhysicalAddresses()->Entry->getState())." "; echo($contacts[2]->getPhysicalAddresses()->Entry->getcountryOrRegion())." "; echo($contacts[2]->getPhoneNumbers()->Entry[0]->get_())." "; echo($contacts[2]->getPhoneNumbers()->Entry[1]->get_() )." "; echo($contacts[2]->getPhoneNumbers()->Entry[2]->get_() )." "; echo($contacts[2]->getEmailAddresses()->Entry->get_())." "; ?> here the result: A_DEEZ4T_*****_DlERi1EDFAAD_xG9V_TAvWT_VRAArfeAA== |
You can replace the $contacts[2]->getPhoneNumbers()->Entry[2]->__toString() Or
|
I acces my contact number 2 on my exchange.
I can get these data: name, surname, jobtitle, company, ...
I can't get thes data: mails,phone number and address.
here my code:
here the result:
The text was updated successfully, but these errors were encountered: