Getting url information

Hi,

I am writing a form, and was just wondering how I can get what "action" function the user is on.

So I can say:

if($action == "signup") {

// Do something.

}

Bro you need to refer to the API:

http://www.yiiframework.com/doc/api/1.1/CController#action-detail

Thanks, found the getAction method.