Skip to content

Controller

renderText()

renderText() — returns void

Available in: controller Category: Rendering Functions

Instructs the controller to render specified text when it’s finished processing the action.

NameTypeRequiredDefaultDescription
textstringnoThe text to render.
statusanyno[runtime expression]Force request to return with specific HTTP status code.