<?php /** * @var $model \yii\db\ActiveRecord */ echo \common\models\UseField::getStatusesTextById($model->use);