public function destroy($template_id) { $object = array(); $wkey["id"] = $template_id; $ret = $this->delete($wkey); return $ret; }