- Yii 1.1 Application Development Cookbook
- Alexander Makarov
- 75字
- 2025-03-31 04:24:47
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 base controller
- Using external actions
- Displaying static pages with
CViewAction
- Using flash messages
- Using controller context in a view
- Reusing views with partials
- Using clips
- Using decorators
- Defining multiple layouts
- Paginating and sorting data