title: Yii2 ArrayHelper::map left join select
body: <p>I have users, orders and plans. When client buy plan, data is save in <code>orders</code> , plans are in <code>account_plan</code> and the information for user is in table <code>users</code>. In table <code>orders</code> is when the plan start and when it is expired. I use for Select2 ArrayHelper, but do not show the column 
  here is a query </p>
  
  <pre><code> $masAcc[0] = Yii::t('app', 'Choose plan');
   $masAcc['----------------'] = 
  ArrayHelper::map(
  \backend\models\Orders::find()
  -&gt;select('orders.*,account_planLang.name as name')
  -&gt;leftJoin('orders_props','`orders_props`.`order_id`= `orders`.`id`')
  -&gt;leftJoin('account_plan','`orders_props`.`product_id`=`account_plan`.`id`')
  -&gt;leftJoin('account_planLang','account_plan.id=account_planLang.plan_id')
  -&gt;where('`orders`.`dt_end`&lt;CURDATE() + INTERVAL 5 DAY AND `orders`.`dt_end`&lt;CURDATE()')
  -&gt;all(), 'id', 'name');
  </code></pre>
  
  <p>but the error is :
  <code>Getting unknown property: backend\models\Orders::name</code>
  here is Select2:</p>
  
  <pre><code> $form-&gt;field($model, 'account')-&gt;widget(Select2::classname(), [
                          'model' =&gt; $model,
                          'theme' =&gt; 'bootstrap',
                          'options' =&gt; [
                              'placeholder' =&gt; Yii::t('app', 'app.choose'),
                              'class' =&gt; 'form-control select2'
                          ],
                          'data' =&gt; $masAcc,
                          'pluginOptions' =&gt; [
                              'allowClear' =&gt; true,
                          ],
                      ]);
                      }
  </code></pre>