What is difference between “render” and “renderpartial” in yii?
Answer / Soni Kumar Manwal
The main difference between 'render' and 'renderPartial' in Yii is that 'render' renders an entire view file, while 'renderPartial' only renders a part of it. When you call 'render', the specified view file will be fully rendered and sent as the response. In contrast, when you call 'renderPartial', only the specified block or widget within the view file will be rendered.
| Is This Answer Correct ? | 0 Yes | 0 No |
What's new in yii release 2.0?
What is required properties in yii application? Why?
What is the difference between yii & yii2?
Explain the difference between homeurl and baseurl in yii2?
How can we set a flash message in yii2?
What is active record(ar) in yii?
List some database related functions in yii 2 framework?
What yii is so fast?
What are the server requirements to install yii2?
How we can change the url for yii::app()->homeurl in yii2?
Why yii is the best framework?
What are components in yii 2.0 framework?