Why can i not rewrite parent class?
Posted
by latvian
on Stack Overflow
See other posts from Stack Overflow
or by latvian
Published on 2010-04-08T04:46:26Z
Indexed on
2010/04/08
4:53 UTC
Read the original article
Hit count: 221
magento
I want to rewrite core/adminthtml/block/widget/tabs.php class which is a super class for core/adminhtml/block/sales/order/view/tabs.php class.
Here is config code for both scenarios:
<blocks>
<adminhtml>
<rewrite>
<sales_order_view_tabs>Jimmy_SalesAffil_Block_Widget_Tabs</sales_order_view_tabs>
<widget_tabs>Jimmy_SalesAffil_Block_Widget_Tabs</widget_tabs>
.....
</rewrite>
</adminhtml>
</blocks>
While I am able to rewrite ...view/tabs.php
, I am not able to rewrite the super class. Why? Is it possible? How?
© Stack Overflow or respective owner