php - OpenCart Call Different Controller -


i have custom module, , want call add() function checkout/cart. how call controller , function?

i have tried $this->load->controller('checkout/cart'); returns fatal exception.

i using opencart v 1.5.6.4

to solve same issue, use $this->load->controller("checkout/cart/add").

if use getchild, exception thrown : "call undefined method loader::getchild()".

what difference between 2 methods? getchild better?


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -