- Yii Application Development Cookbook(Second Edition)
- Alexander Makarov
- 77字
- 2021-11-12 16:36:12
Chapter 2. Router, Controller, and Views
In this chapter, we will cover:
- Configuring URL rules
- Generating URLs by path
- Using regular expressions in URL rules
- Creating URL rules for static pages
- Providing your own URL rules at runtime
- Using a base controller
- Using external actions
- Displaying static pages with CViewAction
- Using flash messages
- Using the controller context in a view
- Reusing views with partials
- Using clips
- Using decorators
- Defining multiple layouts
- Paginating and sorting data