Sample code

I'm referencing sample code from this site
http://www.yiiframework.com/wiki/48/by-example-chtml/#hh2