| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Top Menu decorator | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Top Menu decorator
Hi,
Im trying to understand how i can find actual class which responsible for view creation. According to doc we using Webmaster Kit to see templates and classes and it shows attached trace and looks like the view class is \XLite\View\Menu\Customer\Top.php After digging through the code it looks like the actual implementation is in \XLite\Module\CDev\SimpleCMS\View\Menu\Customer\To p.php file but i don't see it anywhere in trace. How we can find which actual class responsible for view? Which class is being decorated by which?
__________________
5.2.10 |
|||||||
#2
|
|||||||||
|
|||||||||
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:
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 |
|||||||||
|
|||
X-Cart forums © 2001-2020
|