public function actionIndex()
    {
        $extensions = ExtensionsManager::module()->getExtensions();
        return $this->render(
            'index',
            [
                'dataProvider' => new ArrayDataProvider([
                    'allModels' => $extensions,
                    'sort' => [
                        'attributes' => ['composer_name', 'composer_type', 'is_active'],
                    ],
                    'pagination' => [
                        'defaultPageSize' => 10,
                        'pageSize' => ExtensionsManager::module()->extensionsPerPage,
                    ],
                ]),
            ]
        );
    }
public function actionIndex()
    {
        $extensions = ExtensionsManager::module()->getExtensions();
        return $this->render(
            'index',
            [
                'dataProvider' => new ArrayDataProvider([
                    'allModels' => $extensions,
                    'sort' => [
                        'attributes' => ['composer_name', 'composer_type', 'is_active'],
                    ],
                    'pagination' => [
                        'defaultPageSize' => 10,
                        'pageSize' => ExtensionsManager::module()->extensionsPerPage,
                    ],
                ]),
            ]
        );
    }
public function actionIndex ( ) { $ extensions = ExtensionsManager :: module ( ) -> getExtensions ( ) ; return $ this -> render ( 'index' , [ 'dataProvider' => new ArrayDataProvider ( [ 'allModels' => $ extensions , 'sort' => [ 'attributes' => [ 'composer_name' , 'composer_type' , 'is_active' ] , ] , 'pagination' => [ 'defaultPageSize' => 10 , 'pageSize' => ExtensionsManager :: module ( ) -> extensionsPerPage , ] , ] ) , ] ) ; }
Shows installed extensions
Shows installed extensions