| @@ 75-83 (lines=9) @@ | ||
| 72 | /** |
|
| 73 | * {@inheritdoc} |
|
| 74 | */ |
|
| 75 | public function attributeLabels() |
|
| 76 | { |
|
| 77 | return [ |
|
| 78 | 'id' => 'ID', |
|
| 79 | 'default' => Yii::t('app', 'Default'), |
|
| 80 | 'created_at' => Yii::t('app', 'Created date'), |
|
| 81 | 'updated_at' => Yii::t('app', 'Updated date'), |
|
| 82 | ]; |
|
| 83 | } |
|
| 84 | ||
| 85 | /** |
|
| 86 | * Reset the default about record. |
|
| @@ 58-66 (lines=9) @@ | ||
| 55 | /** |
|
| 56 | * {@inheritdoc} |
|
| 57 | */ |
|
| 58 | public function attributeLabels() |
|
| 59 | { |
|
| 60 | return [ |
|
| 61 | 'id' => 'ID', |
|
| 62 | 'default' => Yii::t('app', 'Default'), |
|
| 63 | 'created_at' => Yii::t('app', 'Created date'), |
|
| 64 | 'updated_at' => Yii::t('app', 'Updated date'), |
|
| 65 | ]; |
|
| 66 | } |
|
| 67 | ||
| 68 | /** |
|
| 69 | * Reset the default home record. |
|
| @@ 103-112 (lines=10) @@ | ||
| 100 | /** |
|
| 101 | * {@inheritdoc} |
|
| 102 | */ |
|
| 103 | public function attributeLabels() |
|
| 104 | { |
|
| 105 | return [ |
|
| 106 | 'positions_id' => 'Positions ID', |
|
| 107 | 'language_id' => 'Language ID', |
|
| 108 | 'name' => Yii::t('positions', 'Name'), |
|
| 109 | 'created_at' => Yii::t('app', 'Created date'), |
|
| 110 | 'updated_at' => Yii::t('app', 'Updated date'), |
|
| 111 | ]; |
|
| 112 | } |
|
| 113 | ||
| 114 | /** |
|
| 115 | * @return \yii\db\ActiveQuery |
|
| @@ 109-117 (lines=9) @@ | ||
| 106 | /** |
|
| 107 | * {@inheritdoc} |
|
| 108 | */ |
|
| 109 | public function attributeLabels() |
|
| 110 | { |
|
| 111 | return [ |
|
| 112 | 'id' => 'ID', |
|
| 113 | 'icon' => Yii::t('app', 'Icon'), |
|
| 114 | 'created_at' => Yii::t('app', 'Created date'), |
|
| 115 | 'updated_at' => Yii::t('app', 'Updated date'), |
|
| 116 | ]; |
|
| 117 | } |
|
| 118 | ||
| 119 | /** |
|
| 120 | * @return \yii\db\ActiveQuery |
|