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"); }
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"); }