Logo white

Anastasia / energyforum

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • energyforum
  • backend
  • models
  • Search.php
  • -Added languages, small fixes
    3a45f80d
    Alexey Boroda authored
    2018-08-30 11:40:42 +0300  
    Browse Code ยป
Search.php 436 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
<?php
    
    namespace backend\models;
    
    use artbox\core\admin\models\Search as CoreSearch;
    
    class Search extends CoreSearch
    {
        public function attributeLabels()
        {
            $model = \Yii::createObject($this->model);
            
            return call_user_func(
                [
                    $model,
                    'attributeLabels',
                ]
            );
        }
    }