title: Changing Url method in YII2
body: <p>My url is in yii2:</p>
  
  <p>$component_id = '175';
  $used = '1';</p>
  
  <pre><code>Yii::$app-&gt;UrlManager-&gt;createUrl('component/datafield&amp;c_id='.$component_id.'&amp;value='.$used);
  </code></pre>
  
  <p>Its runs  :</p>
  
  <pre><code>index.php?r=component%2Fdatafield%26c_id%3D176%26value%3D1
  </code></pre>
  
  <p>it shows page not found :-((((</p>