title: Yii framework add parameter to returnUrl
body: <p>In my application I have to add a parameter with the return url. Is it possible?</p>
  
  <p>Like <code>$this-&gt;redirect(Yii::app()-&gt;user-&gt;returnUrl . "&amp;tv=1");</code></p>
  
  <p>My code:</p>
  
  <pre><code>    .
      .
      .
       if (isset($_POST['LoginForm'])) {
                  $model-&gt;attributes = $_POST['LoginForm'];
                  // validate user input and redirect to the previous page if valid
                  if ($model-&gt;validate() &amp;&amp; $model-&gt;login())
                      $this-&gt;redirect(Yii::app()-&gt;user-&gt;returnUrl);
              }
      .
      .
      .
  </code></pre>