Example #1
0
 public function showeditform($forms, $action, $title, $form = "form")
 {
     require COMMONPATH . 'Form.class.php';
     $F = new Form();
     //创建一个动态生成表单的类
     $this->assign("form", $F->showeditform($forms, $action));
     $this->assign("title", $title);
     $this->display("Index:" . $form);
 }