/**
  * The default process
  *
  * @since ADD MVC 0.0
  */
 public function process_mode_default()
 {
     $this->view()->assign('current_controller', add::current_controller_class());
     $this->view()->assign('current_view', $this->view_filepath());
     $this->view()->assign('utc_timestamp', time());
     $this->view()->assign('member', member::current_logged_in());
 }
 /**
  * Mode - edit
  *
  */
 public function process_mode_edit($gpc)
 {
     member::require_logged_in();
     extract($gpc);
     # see session_user and i_auth_entity
     $member = member::current_logged_in();
     # $name from $gpc['name']
     $member->name = $name;
     if ($password) {
         if ($password == $confirm_password) {
             $member->password = $password;
         } else {
             throw new e_user_input("Password mismatched");
         }
     } else {
         # do nothing if password is not filled
     }
 }