Yii::app property

I would like to show some links with the last actions executed, to use as an history in my application.

How can i add a property to the Yii::app so i can recall it from all actions?

create a component

http://www.yiiframework.com/wiki/187/how-to-write-a-simple-application-component/

Thanks!!!