| @@ 47-57 (lines=11) @@ | ||
| 44 | /** |
|
| 45 | * @inheritdoc |
|
| 46 | */ |
|
| 47 | public function attributeLabels() |
|
| 48 | { |
|
| 49 | return [ |
|
| 50 | 'namespace' => Yii::t('option', 'Namespace'), |
|
| 51 | 'key' => Yii::t('option', 'Key'), |
|
| 52 | 'value' => Yii::t('option', 'Value'), |
|
| 53 | 'description' => Yii::t('option', 'Description'), |
|
| 54 | 'created_at' => Yii::t('option', 'Created At'), |
|
| 55 | 'updated_at' => Yii::t('option', 'Updated At'), |
|
| 56 | ]; |
|
| 57 | } |
|
| 58 | } |
|
| 59 | ||
| @@ 66-76 (lines=11) @@ | ||
| 63 | /** |
|
| 64 | * @inheritdoc |
|
| 65 | */ |
|
| 66 | public function attributeLabels() |
|
| 67 | { |
|
| 68 | return [ |
|
| 69 | 'id' => Yii::t('mailTemplate', 'ID'), |
|
| 70 | 'key' => Yii::t('mailTemplate', 'Key'), |
|
| 71 | 'body' => Yii::t('mailTemplate', 'Body'), |
|
| 72 | 'name' => Yii::t('mailTemplate', 'Name'), |
|
| 73 | 'updated_at' => Yii::t('mailTemplate', 'Updated At'), |
|
| 74 | 'subject' => Yii::t('mailTemplate', 'Subject'), |
|
| 75 | ]; |
|
| 76 | } |
|
| 77 | ||
| 78 | /** |
|
| 79 | * Find template by key |
|