| @@ 69-79 (lines=11) @@ | ||
| 66 | /** |
|
| 67 | * @inheritdoc |
|
| 68 | */ |
|
| 69 | public function attributeLabels() |
|
| 70 | { |
|
| 71 | return [ |
|
| 72 | 'id' => Yii::t('app', 'ID'), |
|
| 73 | 'object_id' => Yii::t('app', 'Object ID'), |
|
| 74 | 'name' => Yii::t('app', 'Name'), |
|
| 75 | 'sort_order' => Yii::t('app', 'Sort Order'), |
|
| 76 | 'is_internal' => Yii::t('app', 'Is Internal'), |
|
| 77 | 'hidden_group_title' => Yii::t('app', 'Hidden Group Title'), |
|
| 78 | ]; |
|
| 79 | } |
|
| 80 | ||
| 81 | /** |
|
| 82 | * Relation to \app\models\Object |
|
| @@ 45-55 (lines=11) @@ | ||
| 42 | /** |
|
| 43 | * @inheritdoc |
|
| 44 | */ |
|
| 45 | public function attributeLabels() |
|
| 46 | { |
|
| 47 | return [ |
|
| 48 | 'id' => Yii::t('app', 'ID'), |
|
| 49 | 'name' => Yii::t('app', 'Name'), |
|
| 50 | 'class' => Yii::t('app', 'Class'), |
|
| 51 | 'active' => Yii::t('app', 'Active'), |
|
| 52 | 'checking_class' => Yii::t('app', 'Checking Class'), |
|
| 53 | 'sort_order' => Yii::t('app', 'Sort Order'), |
|
| 54 | ]; |
|
| 55 | } |
|
| 56 | } |
|
| 57 | ||
| @@ 46-56 (lines=11) @@ | ||
| 43 | /** |
|
| 44 | * @inheritdoc |
|
| 45 | */ |
|
| 46 | public function attributeLabels() |
|
| 47 | { |
|
| 48 | return [ |
|
| 49 | 'id' => Yii::t('app', 'ID'), |
|
| 50 | 'name' => Yii::t('app', 'Name'), |
|
| 51 | 'sort_field' => Yii::t('app', 'Sort Field'), |
|
| 52 | 'asc_desc' => Yii::t('app', 'Asc Desc'), |
|
| 53 | 'enabled' => Yii::t('app', 'Enabled'), |
|
| 54 | 'sort_order' => Yii::t('app', 'Sort Order'), |
|
| 55 | ]; |
|
| 56 | } |
|
| 57 | ||
| 58 | /** |
|
| 59 | * Returns all enabled sorts as array of rows |
|