Access to a module from it's model

Hi. My model belongs to a module, and I would like to have an access to this module (to read some constants or properties) from the model just like from any module's controller (using $this->module), but I can't. I found I can use Yii::app()->findModule(<moduleName>) inside the model, but it is written in the API: "This method is used internally. Do not call this method.". So how can I do it right?

Yii::app()->controller->module ?

Oh, thank you Qiang, it works, didn’t know about this property :)