I am using Yii.
if my url is http://localhost/evengee/event/page/id/2/sfn+master/?tab=3 My real url (file path) is only http://localhost/evengee
How would I obtain, preferably in the view:

  1. full url http://localhost/evengee/event/page/id/2/sfn+master/?tab=3
  2. url without explicit parameters http://localhost/evengee/event/page/id/2/sfn+master/

I know I can split/explode str_replace by the ? and use $_SERVER. Would prefer to use Yii native methods.

Edit
Report