Releases: igogo5yo/yii2-render-many
Releases · igogo5yo/yii2-render-many
Added render partial functionality
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
1.3 Added Controller
Bug fixes
Allows render views without params array
1.1 Allows render view without params array
First release 1.0
Changed bages in readme