1. Instructions
The method calls in this SDK file are available for ZenTao 12 version (Zendo Open Source 12.5.3, ZenTao Biz 4.1.3 and below).
To call this SDK file in other PHP frameworks, you only need to place the SDK file in the framework directory, assign directory and permissions to this file, and be able to access the url normally.
2. Configuration parameters
Take the open source version of the one-click installation package as an example, find the xampp\zentao\sdk\php\zentao.php file and modify the configuration parameters.
3. Create a new module
In the xampp\zentao\module directory, create a new zentaosdk module directory for testing, and then create a new control.php file.
Copy the sample function code from the manual into xampp\zentao\module\zentaosdk\control.php to form the following page.
4. Test if the call is successful
Log in to the zentaosdk system using the administrator account, and after logging in to the system, change the URL address to access the created zentaosdk module to test the success of our call.