예제 #1
0
 public function add()
 {
     $u = new Category_model($this->template, $this->router->query_string);
     $u->add($this->router->id);
     $this->template->render("add_category_result", "json");
 }