src/actions/ListAction.php
public function run()
    {
        $model = new Measure;
        return $this->controller->render(
            'index',
            [
                'dataProvider' => $model->search(\Yii::$app->request->get()),
                'model' => $model,
            ]
        );
    }
public function run()
    {
        $model = new Measure;
        return $this->controller->render(
            'index',
            [
                'dataProvider' => $model->search(\Yii::$app->request->get()),
                'model' => $model,
            ]
        );
    }
public function run ( ) { $ model = new Measure ; return $ this -> controller -> render ( 'index' , [ 'dataProvider' => $ model -> search ( \ Yii :: $ app -> request -> get ( ) ) , 'model' => $ model , ] ) ; }
Lists all Measure models.
@return mixed
Lists all Measure models .