Question:What’s the difference between renderPartial and render method when outputting view? 

Answer CController::renderPartial does the same template processing as CController::render, except the former does not use layout. As we can access the current controller in a view using $this, we can use its renderPartialto use a view within another view. Page: 68 

+ Report
Total Preview: 635
What’s the difference between renderPartial and render method when outputting view?
Copyright © 2024. Powered by Intellect Software Ltd