public function delDataCat($params) { $id = $params["id"]; $template = new Model_Template(); $template->delDataCat($id); }