original_string: public function view_page($action) {
          if ($action == 'uploadfiles') {
              $users = required_param('selectedusers', PARAM_SEQUENCE);
              return $this->view_batch_upload_files(explode(',', $users));
          }
          if ($action == 'uploadzip') {
              return $this->view_upload_zip();
          }
  
          return '';
      }
code: public function view_page($action) {
          if ($action == 'uploadfiles') {
              $users = required_param('selectedusers', PARAM_SEQUENCE);
              return $this->view_batch_upload_files(explode(',', $users));
          }
          if ($action == 'uploadzip') {
              return $this->view_upload_zip();
          }
  
          return '';
      }
code_tokens: public function view_page ( $ action ) { if ( $ action == 'uploadfiles' ) { $ users = required_param ( 'selectedusers' , PARAM_SEQUENCE ) ; return $ this -> view_batch_upload_files ( explode ( ',' , $ users ) ) ; } if ( $ action == 'uploadzip' ) { return $ this -> view_upload_zip ( ) ; } return '' ; }
docstring: Called by the assignment module when someone chooses something from the
  grading navigation or batch operations list.
  
  @param string $action - The page to view
  @return string - The html response
docstring_tokens: Called by the assignment module when someone chooses something from the grading navigation or batch operations list .