controllers/ItemControllerAbstract.php
public function actionIndex()
    {
        $filterModel = new Search($this->type);
        return $this->render('index', [
            'filterModel'  => $filterModel,
            'dataProvider' => $filterModel->search(\Yii::$app->request->get()),
        ]);
    }
public function actionIndex()
    {
        $filterModel = new Search($this->type);
        return $this->render('index', [
            'filterModel'  => $filterModel,
            'dataProvider' => $filterModel->search(\Yii::$app->request->get()),
        ]);
    }
public function actionIndex ( ) { $ filterModel = new Search ( $ this -> type ) ; return $ this -> render ( 'index' , [ 'filterModel' => $ filterModel , 'dataProvider' => $ filterModel -> search ( \ Yii :: $ app -> request -> get ( ) ) , ] ) ; }
Lists all created items.
@return string
Lists all created items .