base\Controller renderPartial()

renderPartial() public method

Renders a view without applying layout.

This method differs from render() in that it does not apply any layout.

public string renderPartial ( $view, $params = [] )
$view string

The view name. Please refer to render() on how to specify a view name.

$params array

The parameters (name-value pairs) that should be made available in the view.

return string

The rendering result.

throws yii\base\InvalidParamException

if the view file does not exist.

doc_Yii
2016-10-30 16:51:27
Comments
Leave a Comment

Please login to continue.