What's the best way to not break other addons, extending the same fake View Baseclass?
I've found this workaround, is there any better way?
I've found this workaround, is there any better way?
PHP:
foreach(class_parents($this) as $parent)
{
if(method_exists($parent,'renderHtml')){
parent::renderHtml();
break;
}
}
//my code...