What is the difference between render() and renderpartial() in Yii ?
S.no | render() | renderPartial() |
---|---|---|
1. | Used for presenting views that correspond to what users see a web page. | Used for rendering a portion of a page |
2. | Places the render result into the layout. | Does not place the results of rendering in the layout. |
3. | Performs output processing and outputs the result. | Does not perform output processing |
BY Best Interview Question ON 31 Jan 2019