public function deleteLangData($sid) { $map['lang_id'] = array('IN', $sid); $result = $this->where($map)->delete(); return $result; }