V
V
Vitaliy24102016-07-03 11:35:55
PHP
Vitaliy2410, 2016-07-03 11:35:55

How to use variable from one controller in another in opencart?

I want to include a variable from one controller to another, the iclude_once method and then use the variable for some reason does not work

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Kirill Arutyunov, 2016-07-03
@arutyunov

What exactly does this variable do?
Use Registry to pass variables/objects between classes.
You most likely have incorrectly built the logic of work, because this is a rather strange task.
Describe your initial task.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question