How to get the full controller ID when it's in a Module?

I encountered a problem when I was working on a RBAC system which need to read the full controller ID when it's under a module. For example, for module 'module1' I have controller 'index' and in 'module2' I have controller 'index' as well, I expect to have an APP controllerID property to returen sth like 'module1.index' and 'module2.index', however I haven't find it anywhere in Doc, if I try

I only returns 'index' as controller id, which, apparently will cause problem if I use it in RBAC to identify a controller.

So my question is, Is there anything in Yii app can always return the full controllerID?

uniqueId.

Quote

uniqueId.

Thanks Qiang! That's exactly what I need!