Wednesday, October 30, 2013

Render View From Another Controller In Yii

http://developwithguru.com/how-to-renderpartial-a-file-in-another-controllers-view-folder-for-yii/

<?php $this->renderPartial('//library/_book', array('books'=>$books))?>

Use double slashes before the controller.

No comments:

Post a Comment