\Controller_Welcome

The Welcome Controller.

A basic controller example. Has examples of how to set the response body and status.

Summary

Methods
Properties
Constants
action_index()
action_hello()
action_404()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

action_index()

action_index() : \Response

The basic welcome message

Returns

\Response

action_hello()

action_hello() : \Response

A typical "Hello, Bob!" type example. This uses a ViewModel to show how to use them.

Returns

\Response

action_404()

action_404() : \Response

The 404 action for the application.

Returns

\Response