modules/adminos/controllers/ArticlesController.php
/**
     * Lists all Articles models.
     * @return mixed
     */
Lists all Articles models.
@return mixed
Lists all Articles models . @return mixed
public function actionIndex()
    {
        $dataProvider = new ActiveDataProvider([
            'query' => Articles::find(),
        ]);
        $article = Articles::find()->all();
        $this->setMeta('Статьи ', "Клаючевые слова", "описание");
        return $this->render('index', [
            'dataProvider' => $dataProvider,
        ]);
    }
public function actionIndex ( ) { $ dataProvider = new ActiveDataProvider ( [ 'query' => Articles :: find ( ) , ] ) ; $ article = Articles :: find ( ) -> all ( ) ; $ this -> setMeta ( 'Статьи ', "Кла ю е вые слова", "описание"); return $ this -> render ( 'index' , [ 'dataProvider' => $ dataProvider , ] ) ; }
Lists all Articles models.
Lists all Articles models .
// debug($article);