X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   General questions (X-Cart 5) (https://forum.x-cart.com/forumdisplay.php?f=66)
-   -   Xcart delivery method (https://forum.x-cart.com/showthread.php?t=77365)

k1r1l 11-23-2019 02:55 AM

Xcart delivery method
 
Good day. The next question is, there is a class with ready-made module logic, at some point you need to call a method from another class, which is a child. I create a class object and call the method I need. As a result, I get the error that when creating a class object
(Too few arguments to function XLite\Logic\Order\Modifier\AModifier::__construct( ), 0 passed in )

The question is, how do I redefine the constructor?
Or it is possible to get around this somehow differently.
P.S. Already there is a ready-made logic of a working module. It is only necessary to supplement it with one method.


All times are GMT -8. The time now is 07:12 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.