HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (
-   Developers' Forum (
-   -   Write own APi script (

Pida 21st May 2012 09:13

Write own APi script
Hello all,

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/, but it's not upgrade safe.

Thank you for your reply...

(sorry for my english)

till 21st May 2012 09:33

Create a new custom remote class that extends the class in 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.

Pida 21st May 2012 09:49

Thank you till

All times are GMT +2. The time now is 19:13.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.