base\View beforeRender()

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.

doc_Yii
2016-10-30 16:52:30
Comments
Leave a Comment

Please login to continue.