$model = new xxxModel();
$model->attributes;//array('id'=>'','name'=>'');以字段名为下标的数组
$model->getTableSchema()->columns;//数据表字段信息array('id'=>object(‘字段详细信息’))
array (size=10)
'FID' =>
object(CMysqlColumnSchema)[23]
public 'name' => string 'FID' (length=3)
public 'rawName' => string '`FID`' (length=5)
public 'allowNull' => boolean false
public 'dbType' => string 'int(10)' (length=7)
public 'type' => string 'integer' (length=7)
public 'defaultValue' => null
public 'size' => int 10
public 'precision' => int 10
public 'scale' => null
public 'isPrimaryKey' => boolean true
public 'isForeignKey' => boolean false
public 'autoIncrement' => boolean true
private '_e' (CComponent) => null
private '_m' (CComponent) => null