Browse Source

mention response component in controller.md

tags/2.0.0-beta
Carsten Brandt 11 years ago
parent
commit
6ba6fbe947
  1. 4
      docs/guide/controller.md

4
docs/guide/controller.md

@ -35,6 +35,9 @@ class SiteController extends Controller
```
As you can see, typical controller contains actions that are public class methods named as `actionSomething`.
The output of an action is what the method returns. The return value will be handled by the `response` application
component which can convert the output to differnet formats such as JSON for example. The default behavior
is to output the value unchanged though.
Routes
------
@ -183,7 +186,6 @@ Filters
Catching all incoming requests
------------------------------
See also
--------

Loading…
Cancel
Save