backend/controllers/PreferencesController.php
/**
     * Lists all Preferences models.
     * @return mixed
     */
Lists all Preferences models.
@return mixed
Lists all Preferences models . @return mixed
public function actionList()
    {
        $searchModel = new PreferencesSearch();
        $dataProvider = $searchModel->search(Yii::$app->request->queryParams);
        return $this->render('list', [
            'searchModel' => $searchModel,
            'dataProvider' => $dataProvider,
        ]);
    }
public function actionList ( ) { $ searchModel = new PreferencesSearch ( ) ; $ dataProvider = $ searchModel -> search ( Yii :: $ app -> request -> queryParams ) ; return $ this -> render ( 'list' , [ 'searchModel' => $ searchModel , 'dataProvider' => $ dataProvider , ] ) ; }
Lists all Preferences models.
Lists all Preferences models .