public function create()
 {
     if ($this->validate()) {
         $language = new Language();
         $language->name = $this->name;
         $language->lang_id = $this->lang_id;
         $language->active = $this->active;
         $language->show = $this->show;
         if ($language->save()) {
             return true;
         } else {
             throw new RuntimeException('Database exception');
         }
     } else {
         throw new InvalidParamException("Invalid language params");
     }
 }