View Single Post
Old 03-30-2017, 01:18 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline

Join Date: Dec 2010
Posts: 6,373

Default Re: Top Menu decorator

The view class is \XLite\View\Menu\Customer\Top, but modules can "decorate" it by extending their classes from this class and implemeting the IDecorator interface as follows:
PHP Code:
namespace XLite\Module\CDev\SimpleCMS\View\Menu\Customer;

Top extends \XLite\View\Menu\Customer\Top implements \XLite\Base\IDecorator
// ...

To find every class that affects the base class you should search the source code for "extends BASE_CLASS" string like in the above example.
Alex Solovev,


User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote