Ejemplo n.º 1
0
 public function add()
 {
     $u = new Post_model($this->template, $this->router->query_string);
     $u->add($this->router->id);
     $this->template->render("add_post_result", "json");
 }