Variables
Variables in Class
Variable | Description |
$lang | It is assigned to variable by __construct() function, returns the array values in the "php" file located in the "lang" folder. |
$config | It is assigned to variable by __construct() function, returns the Returns array values in the content of the "config.php" file. |
$api | It is assigned to variable by __construct() function, returns the Transfers the class in the content of the “api.php" file. It is not a mandatory variable. |
$order | It is assigned to variable by set_order() function, includes order information, returns as array. |
$user | It is assigned to variable by set_order() function, includes client information, returns as array. |
$product | It is assigned to the variable by the set_order() function, includes product information of the order, returns as array. |
$error | If an error occurs, it contains the text for the error. |