Partial with an action

Yii has support for partials which is 1 line to include a separate view file (allowing you to include the same file from multiple places).

Is there a Yii feature for including an enhanced partial that uses an action to compute/get some model data to put into the view?

In the Symfony framework, this is known as a component but I know Yii components are very different.

Any thoughts/suggestions? Thanks!

I think you are looking for a Widget.