Write own APi script
I'm writing a module for ISPConfig, but I need to write own api scripts for this module.
Is there any way how to write own api methods what are will upgrade safe in the future?
One way is a write own methods to lib/classes/remote.inc.php, but it's not upgrade safe.
Thank you for your reply...
(sorry for my english)
Create a new custom remote class that extends the class in remote.inc.php so that all fnctions from the original file will be available and you implement only the new functions in your class, then create a new remote api connector file by makeing a copy of the web/remote/index.php file that binds your own class to the soap handler.
Thank you till
|All times are GMT +2. The time now is 22:20.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.