Пример #1
0
 public function init()
 {
     if ($this->functionSearch === null) {
         $this->setFunctionSearch(function ($activeQuery) {
             return ArrayHelper::getColumn($activeQuery->all(), 'id');
         });
     }
     parent::init();
 }