Developer Center

Server Module Development

Parameters

The parameters specified here describe the predefined variables within the class. Variable Name Description $this->url Gives the directory where module is located as an URL address. Example: https://.../coremio/modules/Servers/SampleServerCP/ $...

Fixed Functions and Return

The function names which are mandatory in the module class are: create, terminate, suspend, unsuspend All of these 4 functions run similarly, they can run both manually and automatically, each of which must return a success or error response. Response Usage ...

Single Sign-On

With this feature, the client or administrator will access the server control panel with one click via the service detail. If you add these functions to the class, the enter button will appear automatically in the service detail. There is no return value, it...

Defining Custom Page and Function for Client Area

The pages/ is the directory where the pages are located. The name of the page that you will create in it must be prefixed with "clientArea-" phrase. You can use (lower/upper case letter, number and "-_" as special character) in the name, and .php must be typ...

Multi-Purpose Client Area Buttons

To define multi-purpose buttons in client area output, first make sure that clientArea() function is defined and clientArea_buttons_output() function is called in it. For defining the buttons, you should create clientArea_buttons() function and the return of...

Do you have any questions?

Feel free to contact us
Contact Us
Copyright © 2024. All Rights Reserved.
Join Our Discord Channel
Top