mail\BaseMailer render()

render() public method

Renders the specified view with optional parameters and layout.

The view will be rendered using the $view component.

public string render ( $view, $params = [], $layout = false )
$view string

The view name or the path alias of the view file.

$params array

The parameters (name-value pairs) that will be extracted and made available in the view file.

$layout string|boolean

Layout view name or path alias. If false, no layout will be applied.

return string

The rendering result.

doc_Yii
2016-10-30 17:07:06
Comments
Leave a Comment

Please login to continue.