Example #1
0
 function action_modify_after($id)
 {
     // optimize?
     $this->_update_tree($this->params->id ? false : $this->params->pid);
     $this->collection->clear_static();
     /*
     if (!$this->params->id && !empty($id) && !$this->request->post('save_continue')) {        
        // new one, redirect
        // $this->get_router()->make_url
        $url = $this->make_url('op=edit&id=' . $id);
        functions::redirect($url);
        core::get_instance()->halt();        
     }
     */
 }