Multi-purpose Model

Hi all. I’m a Yii newbie. I would like to know if it is possible to have a generic/multi-purpose model, sort of a utility class that allows me to query to several tables to enable me to get/set different site-wide data (i.e. data not restricted to one portion of the site). I hope my question makes sense :)

Instead of a model I guess you are asking for the CDbCommand… http://www.yiiframework.com/doc/api/1.1/CDbCommand

IMHO It doesnt make really sense otherwise…