| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
override order list defineColumns method in my module | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
override order list defineColumns method in my module
I need to override defineColumns method in XLite\View\Itemlist\Model\Order\Admin\Search.php.
I added Search.php class to view folder of my module and defined defineColumns method but it does not work. Please tell me how to do this right?
__________________
X-Cart Gold Plus 4.5.4 |
|||||||
#2
|
|||||||||
|
|||||||||
Re: override order list defineColumns method in my module
What is the source code of your class?
__________________
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 |
|||||||||
#3
|
|||||||
|
|||||||
Re: override order list defineColumns method in my module
PHP Code:
__________________
X-Cart Gold Plus 4.5.4 |
|||||||
#4
|
|||||||||
|
|||||||||
Re: override order list defineColumns method in my module
Do you want create a new class, or modify the existing one?
If these changes are for the existing class, you should add the "implements" part to the class declaration: PHP Code:
__________________
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
|