Developer Center


The parameters specified here describe the predefined variables within the class.

Variable Name Description
Gives the directory where module is located as an URL address.
Example: https://.../coremio/modules/Product/SampleProduct/
Gives the directory path where the module is located.
Example: DOCUMENT ROOT --/coremio/modules/Product/SampleServerCP/
If you need to return failed result in the function, you can place the error message in this variable.
Name of the Module
System automatically specifies which language to be selected, it brings the content of php file in "lang/" directory.
If a page in module is called while navigating in client detail page, name of the page is stored in this variable.
It includes the URL link of service detail page.
Includes all details of client that belongs to the service detail page as [array] type.
Client ID Number
Database Field:
Client First Name
Database Field:
Client Last Name
Database Field: users.surname
Client Full Name
Database Field: users.full_name
Client E-Mail Address
Database Field:
Client GSM Number (Without +)
Database Field:
Client Defined Language Code (Ex: en, de, fr, tr, etc.)
Database Field: users.lang
Client Defined Country Code (Ex: US, DE, FR, TR etc.)
Database Field:
Client's Default Defined Address Information (Contains Array)
Database Field: users_addresses
Address Country Name
Address Country Code (US, DE,TR,FR etc.)
Address City Name
Address County name
Address Postal Code
Gives the output of all details [array] of the product belonging to service.
Gives the output that includes all details [array] of the product belonging to service.
The Service ID Number
Database Field:
The Service Product Name
Database Field:
Type of Service Pricing Cycle Period (day, week, month, year)
Database Field: users_producs.period
The Service Pricing Cycle Period Duration
Database Field: users_producs.period_time
The Service Amount Information
Database Field: users_producs.amount
The Service Total Amount Info (Including Add-ons)
Database Field: users_producs.total_amount
The Service Currency ID Number (Database Field:
Database Field: users_producs.amount_cid
The Service Status (awaiting, in process, active, suspended, un-suspended)
Database Field: users_producs.status
The Service Status Error Message
Database Field: users_producs.status_msg
The Service Payment Method
Database Field: users_producs.pmethod
The Service First Payment Date
Database Field: users_producs.cdate
The Service Renewal Date
Database Field: users_producs.renewaldate
The Service Last Payment Date
Database Field: users_producs.duedate
The Service Module Name
Database Field: users_producs.module
The Service Configuration Settings
Database Area: users_producs.options
Additional Information Defined to Service
Additional IP Addresses Defined to Service (separated by commas)
Indicates installation status of the service. True = installed. False = not installed.
Used to insert a unique ID in the service when it is active. It is also used to determine the status of the installation
There are fields in arrays in the configuration options that are available on the product.
There are corresponding values in the 'configurable-option-params' array which is located in config.php file.
It contains the requirement information filled in at the order step.

Configuration Options

Configuration options saved in product/service of client are in $this- >order["options"]["creation_info"] variable, a sample call is as follows.


Configuration options saved in product are in $this->product["module_data"] variable, a sample call is as follows.


Configurable Options

You can call the module parameters in the special fields and add-ons selected by the client during the ordering process as follows.

$this->val_of_conf_opt["Example 1"]
$this->val_of_conf_opt["Example 2"]
$this->val_of_requirements["Example 3"]
Getting Started Meta Data Parameters

Do you have any questions?

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