Difference between #4 and #5 of
Extending common classes to allow better customization

Revision #5 has been created by qiang on Apr 6, 2011, 12:17:25 AM with the memo:

« previous (#4)


Title unchanged

Extending common classes to allow better customization

Category unchanged


Yii version unchanged

Tags unchanged

Content unchanged

public $layout='//layouts/column2';
Likewise with `$breadcrumbs` and `$menu`. The more code you can move out of individual controllers and into common base classes, the more robust the code becomes and the easier it will be for others to maintain.

You'll find many avenues of customization as you learn more about Yii, and this framework of customized key classes will make it much easier.
36 0
Viewed: 34 133 times
Version: 1.1
Category: Tips
Written by: Steve Friedl
Last updated by: Steve Friedl
Created on: Dec 17, 2010
Last updated: 8 years ago
Update Article


View all history