Browse Source

Added crosslinks to Action Filters subsection of controller docs

tags/2.0.0-beta
Alexander Makarov 11 years ago
parent
commit
bcff068b3c
  1. 5
      docs/guide/controller.md

5
docs/guide/controller.md

@ -183,7 +183,7 @@ Action Filters
Action filters are implemented via behaviors. You should extend from `ActionFilter` to Action filters are implemented via behaviors. You should extend from `ActionFilter` to
define a new filter. To use a filter, you should attach the filter class to the controller define a new filter. To use a filter, you should attach the filter class to the controller
as a behavior. For example, to use the `AccessControl` filter, you should have the following as a behavior. For example, to use the [[AccessControl]] filter, you should have the following
code in a controller: code in a controller:
```php ```php
@ -200,7 +200,8 @@ public function behaviors()
} }
``` ```
more TDB In order to learn more about access control check [authorization](authorization.md) section of the guide.
Two other filters, [[PageCache]] and [[HttpCache]] are described in [caching](caching.md) section of the guide.
Catching all incoming requests Catching all incoming requests
------------------------------ ------------------------------

Loading…
Cancel
Save