Skip to content
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

Export multiple objects #5

Closed
x1a opened this issue Nov 20, 2013 · 2 comments
Closed

Export multiple objects #5

x1a opened this issue Nov 20, 2013 · 2 comments

Comments

@x1a
Copy link

x1a commented Nov 20, 2013

Hi,

I need to export a few objects with one instance of Immocaster_Sdk
I do:

$oImmocaster->exportObject($object1);
$oImmocaster->exportObject($object2);

but get errors on the second one
first: can not redeclare function 'multipushXml' in Immocaster_Xml_Writer, line 108
I tried to fix it (added function_exists condition) but other errors appeared... probably you know that. Is there a way to export multiple objects?

thanks

@Pixelairport
Copy link
Contributor

Did you try to do it with an XML instead of using the wrapper. Because the wrapper is also not supported anymore. Please try to create your own xml as parameter xml instead of the parameter estate. I mean you have to create the xml like immobilienscout24 says in their wiki (http://developerwiki.immobilienscout24.de/wiki/Import-Export-API) and then save it as parameter $object1['xml']='XML_STUFF'.

@x1a
Copy link
Author

x1a commented Nov 21, 2013

Thanks, I will try it with xml parameter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants