Skip to content

Releases: igogo5yo/yii2-render-many

Added render partial functionality

24 Jul 15:43
Compare
Choose a tag to compare
    public function actionIndex()
    {

        return $this->renderMany([
            'sliderSection' => [
                'slides' => ['img1.jpg', 'img3.jpg', 'img3.jpg']
            ],
            'wrapper' => [
                'innerRenders' => $this->renderManyPartial([
                    'innerView1' => [
                        'param1' => 'some data 1'.
                        'param2' => 'some data 2'
                    ],
                    'innerView2' //without passing variables
                ])
            ],
            'footer' //without passing variables
        ]);
    }

Added Controller

07 Dec 15:40
Compare
Choose a tag to compare
1.3

Added Controller

Bug fixes

07 Dec 10:09
Compare
Choose a tag to compare
1.2

Bug fixes

Allows render views without params array

07 Dec 10:01
Compare
Choose a tag to compare
1.1

Allows render view without params array

First release 1.0

07 Dec 09:42
Compare
Choose a tag to compare
Changed bages in readme