理清思路
 $author = Author::model()->findByPk(1);
var_dump($author->name); //zhangming