Archives For controller

A topic critical to controllers, although not dictated within the actual controller code are routes. Routes are how URLs map to the controller and action to be invoked. Chapter 3, “A Manual for Your Yii Site,” introduced the basic concept and Chapter 4 explained how to configure the “urlManager” component to change how routes are formatted. Let’s now look at the topic in greater detail.

NOTE: This is an excerpt from Chapter 7, “Working with Controllers,” of “The Yii Book”.

Continue Reading...