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

X-Guru
  
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:
<?php
namespace XLite\Module\CDev\SimpleCMS\View\Menu\Customer;

class 
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,
Qualiteam

---

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