Paul's Programming Notes
PostsRSSGithub

Render View From Another Controller In Yii

31 Oct 2013

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.

phpyii

Related posts

  • Yii Google Chart Extension 05 Nov 2013
  • CSqlDataProvider Using Special Data Attribute - Yii 23 Oct 2013
  • Yii quickdlgs Without UrlManager Enabled 11 Oct 2013
© 2026. All rights reserved.