public function renderPartial($view, $data = null, $return = false, $processOutput = false)
{
if ($this->getViewFile($view) === false) {
foreach ($this->getModule()->getModuleInheritanceList() as $mod) {
// assuming that any inheritance maintains the controller name here.
$view_path = implode('.', array($mod->id, 'views', $this->getControllerPrefix(), $view));
if ($this->getViewFile($view_path)) {
$view = $view_path;
break;
}
}
}
return parent::renderPartial($view, $data, $return, $processOutput);
}