title: How do I obtain the current url without params in Yii?
body: <p>I am using Yii.<br>
  if my url is <code>http://localhost/evengee/event/page/id/2/sfn+master/?tab=3</code>
  My real url (file path) is only <code>http://localhost/evengee</code><br>
  How would I obtain, preferably in the view:</p>
  
  <ol>
  <li>full url <code>http://localhost/evengee/event/page/id/2/sfn+master/?tab=3</code></li>
  <li>url without explicit parameters <code>http://localhost/evengee/event/page/id/2/sfn+master/</code>  </li>
  </ol>
  
  <p>I know I can split/explode str_replace by the ? and use $_SERVER. Would prefer to use
  Yii native methods.</p>