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)

Changes

Title unchanged

Extending common classes to allow better customization

Category unchanged

Tips

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
19 followers
Viewed: 41 396 times
Version: 1.1
Category: Tips
Tags:
Written by: Steve Friedl
Last updated by: Steve Friedl
Created on: Dec 17, 2010
Last updated: 13 years ago
Update Article

Revisions

View all history