render() public method
Renders a view file.
This method is invoked by yii\web\View whenever it tries to render a view. Child classes must implement this method to render the given view file.
public string render ( $view, $file, $params ) | ||
---|---|---|
$view | yii\web\View |
The view object used for rendering the file. |
$file | string |
The view file. |
$params | array |
The parameters to be passed to the view file. |
return | string |
The rendering result |
Please login to continue.