title: yii2 beginWidget -> unknown method
body: <p>In yii I had such code which was roking OK</p>
  
  <pre><code>$form=$this-&gt;beginWidget('CActiveForm', array(
      'id'=&gt;'ride-form',
      'enableClientValidation'=&gt;false,
      'clientOptions'=&gt;array(
          'validateOnSubmit'=&gt;true,
      ),
  ));
  </code></pre>
  
  <p>now I am trying to use it in Yii 2 version.
  But I'm getting error</p>
  
  <pre><code>Calling unknown method: yii\web\View::beginWidget()
  </code></pre>
  
  <p>Why ? and what class maybe I should additionally use to fix this problem ?</p>