| @@ 82-93 (lines=12) @@ | ||
| 79 | /** |
|
| 80 | * @inheritdoc |
|
| 81 | */ |
|
| 82 | public function attributeLabels() |
|
| 83 | { |
|
| 84 | return [ |
|
| 85 | 'id' => Yii::t('writesdown', 'ID'), |
|
| 86 | 'name' => Yii::t('writesdown', 'Name'), |
|
| 87 | 'slug' => Yii::t('writesdown', 'Slug'), |
|
| 88 | 'hierarchical' => Yii::t('writesdown', 'Is Hierarchical'), |
|
| 89 | 'singular_name' => Yii::t('writesdown', 'Singular Name'), |
|
| 90 | 'plural_name' => Yii::t('writesdown', 'Plural Name'), |
|
| 91 | 'menu_builder' => Yii::t('writesdown', 'Is Menu Builder'), |
|
| 92 | ]; |
|
| 93 | } |
|
| 94 | ||
| 95 | /** |
|
| 96 | * @return \yii\db\ActiveQuery |
|
| @@ 75-86 (lines=12) @@ | ||
| 72 | /** |
|
| 73 | * @inheritdoc |
|
| 74 | */ |
|
| 75 | public function attributeLabels() |
|
| 76 | { |
|
| 77 | return [ |
|
| 78 | 'id' => Yii::t('writesdown', 'ID'), |
|
| 79 | 'taxonomy_id' => Yii::t('writesdown', 'Taxonomy ID'), |
|
| 80 | 'name' => Yii::t('writesdown', 'Name'), |
|
| 81 | 'slug' => Yii::t('writesdown', 'Slug'), |
|
| 82 | 'description' => Yii::t('writesdown', 'Description'), |
|
| 83 | 'parent' => Yii::t('writesdown', 'Parent'), |
|
| 84 | 'count' => Yii::t('writesdown', 'Count'), |
|
| 85 | ]; |
|
| 86 | } |
|
| 87 | ||
| 88 | /** |
|
| 89 | * @return \yii\db\ActiveQuery |
|