base\Controller renderContent()

renderContent() public method (available since version 2.0.1)

Renders a static string by applying a layout.

public string renderContent ( $content )
$content string

The static string being rendered

return string

The rendering result of the layout with the given static string as the $content variable. If the layout is disabled, the string will be returned back.

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

Please login to continue.