beforeRender() public method
This method is invoked right before renderFile() renders a view file.
The default implementation will trigger the EVENT_BEFORE_RENDER event. If you override this method, make sure you call the parent implementation first.
| public boolean beforeRender ( $viewFile, $params ) | ||
|---|---|---|
| $viewFile | string |
The view file to be rendered. |
| $params | array |
The parameter array passed to the render() method. |
| return | boolean |
Whether to continue rendering the view file. |
Please login to continue.