public function actionIndex()
    {
        $this->getSearchCriteria();
        $this->layout = static::TABLE_LAYOUT;
        return $this->render('index', [
            'searchModel' => $this->searchModel,
            'dataProvider' => $this->dataProvider,
        ]);
    }
public function actionIndex()
    {
        $this->getSearchCriteria();
        $this->layout = static::TABLE_LAYOUT;
        return $this->render('index', [
            'searchModel' => $this->searchModel,
            'dataProvider' => $this->dataProvider,
        ]);
    }
public function actionIndex ( ) { $ this -> getSearchCriteria ( ) ; $ this -> layout = static :: TABLE_LAYOUT ; return $ this -> render ( 'index' , [ 'searchModel' => $ this -> searchModel , 'dataProvider' => $ this -> dataProvider , ] ) ; }
Lists all the models.

@return mixed
Lists all the models .