Open strtob opened 2 years ago
Hi,
What a great extensions, thanks a lot!
fyi
this works:
\yii\helpers\ArrayHelper::map(\app\models\BasisAssetType::find()->orderBy('id')->all(), 'id', 'name')
this not:
\yii\helpers\ArrayHelper::map(\app\models\BasisAssetType::find()->orderBy('id')->asArray()->all(), 'id', 'name')
No translation happens - I use the behaviour...
BR, Tobi
Hi,
What a great extensions, thanks a lot!
fyi
this works:
\yii\helpers\ArrayHelper::map(\app\models\BasisAssetType::find()->orderBy('id')->all(), 'id', 'name')
this not:
\yii\helpers\ArrayHelper::map(\app\models\BasisAssetType::find()->orderBy('id')->asArray()->all(), 'id', 'name')
No translation happens - I use the behaviour...
BR, Tobi