Supported Functions
The following headers contain the function names within the class.
create
This function starts running if the status of the product/service is activated; if the return value fails it does not activate the status of the product/service. Saves the error message for displaying to the administrator and notifies the administrator.
renewal
If the product/service period is renewed, this function starts running; if the returned value fails, it saves the error message to display to the administrator and notifies the administrator.
suspend
This function starts running if the status of the product/service is suspended, if the return value fails, it will not suspend the status of the product/service. Saves the error message for displaying to the administrator and notifies the administrator.
unsuspend
This function will start running if the suspension status of the product/service is removed, if the return value fails, it leaves the status of the product/service suspended. Saves the error message for displaying to the administrator and notifies the administrator.
delete
If the status of the product/service is canceled or deleted, this function starts to run, if the return value fails, it saves the error message for displaying to the administrator and notifies the administrator.
apply_updowngrade
This function runs when the upgrade request for the service is confirmed, if the return value fails, it saves the error message for displaying to the administrator and notifies the administrator.
clientArea
Prints the value returned from this function in the field in the client area service detail. It comes defined by default, if you disable the function, it will give the output in pages/panel.php file to the client area.
clientArea_buttons
With this function, you can place buttons on the client area output and use a function when you click the button.
clientArea_buttons_output
You can use it to compile and output the array defined in clientArea_buttons function.
adminArea_buttons
With this function, you can place buttons on the client area output and use a function when you click the button.
adminArea_buttons_output
You can use it to compile and output the array defined in adminArea_buttons function.
adminArea_service_fields
With this function, you can insert a new field or a new configuration option in the administrator field output.
save_adminArea_service_fields
Saves extra added fields and configuration options.