public function beforeSave($insert)
{
if($this->param=='citys'){
$city = City::findOne($this->int);
$this->label=$city->fullcity;
}
return parent::beforeSave($insert);
}
SELECT * FROM city where id=1