Use Parent Class Views

Hi, i have this question:

can i use a view code from the parent class?

For example:

i have a class called ‘intervention’

Then i have 2 child classes called ‘maintainance’ and ‘fixing’

This child classes should share many views, so i would like to know if i can tell yii to go look for the code inside the same view for the ‘intervention’ class.

You can render every view you like by using alias path notation:





 $this->render('application.view.common.index', ....) 

 $this->renderPartial('application.view.common.index', ....)