URL Rewriting in Yii 1

Hi All,

  	I want to implement  a functionality like adding multiple account like Google providing. Generally our URL structure is like below : 

[b]

domain_name.com/employee/index [/b]

But I want to add 2 more parameters in that URL like below :

domain_name.com/u/0/employee/index (Give Employee-1 Details)

domain_name.com/u/1/employee/index (Give Employee-2 Details)

domain_name.com/u/2/employee/index (Give Employee-2 Details)

and in framework controller file I will fetch that 2 new values and apply my changes. Just I want to know that how to do it.

So if above 3 urls open in same browser but in different tabs, at that time, user will get details as per the URL given.

I am working with YII-1.

Thanks !!!

This might help you: http://www.yiiframework.com/doc/guide/1.1/en/topics.url#using-named-parameters