Am 23.10.2012 um 15:44 schrieb "Jungclaus, Tobias" <[email protected]>:

> Hi devs,
>  
> https://bugs.oxid-esales.com/view.php?id=4638
>  
> Thank you for the detailed explanations – that is really interesting!
>  
> However in another module it works fine: I extend all five 
> checkout-view-classes with the same class.
> In this class I extend the getTitle function (calling parent), and all works 
> fine.
>  
> What may be the difference here?
> ( I just want to be sure, that our current checkout doesnt promptly vanish in 
> a puff of logic ;-) )

It works because only one view is loaded per request, so there is no class 
allready defined issue. 

I was also in similar situations. Most times i wanted to extend 
oxbase or oxubase, but that was not possible because oxid does not support base 
class extension. So we create one helper class which is then utilized by 
multiple extended classes. This feels not very good because you even create 
redundant code but there is no other way in the moment. 

>  
> TJ
>  
>  
>  
>  
> _______________________________________________
> dev-general mailing list
> [email protected]
> http://dir.gmane.org/gmane.comp.php.oxid.general
_______________________________________________
dev-general mailing list
[email protected]
http://dir.gmane.org/gmane.comp.php.oxid.general

Reply via email to