What is displayView()?
displayView()... wait for it... displays your views! Pretty simple, huh?
| displayView() | |||
|---|---|---|---|
| Argument | Type | Required? | Description |
| viewname | string | Required |
The name of the view you want to call. In multiple controllers or assigned controlleres: controllerName + actionDelimiter + actionName e.g. home.welcome You can also use a / instead of your actionDelimiter. home/welcome also works in LightFront. Another added feature is the ability to go more than two levels deep. Try this for an example. |
| content | any | Optional | Any data you want to pass into the view. You can pass content to the view just by using the variables or the request scope. |
