function add() { $this->id = $_GET['id']; $map['type'] = 0; $this->country = D('Region')->where($map)->findall(); parent::add(); }