Quote:
... creating a new class that decorates the \XLite\View\AView class ...
|
I think there is a class that is more specific for the menu than AView. By decorating AView class you add the method to
every widget on the page.
Will it work if you add the method to TopMenuFromId class?
If not, what is the full "method not found" error backtrace from the log file?