| @@ 16-27 (lines=12) @@ | ||
| 13 | use hipanel\base\SearchModelTrait; |
|
| 14 | use Yii; |
|
| 15 | ||
| 16 | class StatisticSearch extends Statistic |
|
| 17 | { |
|
| 18 | use SearchModelTrait; |
|
| 19 | ||
| 20 | public function attributeLabels() |
|
| 21 | { |
|
| 22 | return $this->mergeAttributeLabels([ |
|
| 23 | 'name_like' => Yii::t('hipanel:ticket', 'Name'), |
|
| 24 | 'author_id' => Yii::t('hipanel:ticket', 'Author'), |
|
| 25 | ]); |
|
| 26 | } |
|
| 27 | } |
|
| 28 | ||
| @@ 16-27 (lines=12) @@ | ||
| 13 | use hipanel\base\SearchModelTrait; |
|
| 14 | use Yii; |
|
| 15 | ||
| 16 | class TemplateSearch extends Template |
|
| 17 | { |
|
| 18 | use SearchModelTrait; |
|
| 19 | ||
| 20 | public function attributeLabels() |
|
| 21 | { |
|
| 22 | return $this->mergeAttributeLabels([ |
|
| 23 | 'name_like' => Yii::t('hipanel:ticket', 'Name'), |
|
| 24 | 'author_id' => Yii::t('hipanel:ticket', 'Author'), |
|
| 25 | ]); |
|
| 26 | } |
|
| 27 | } |
|
| 28 | ||