original_string: protected function handleExportRequest($forceExport = false)
      {
          if (!$scope = request(Exporter::$queryName)) {
              return;
          }
  
          // clear output buffer.
          if (ob_get_length()) {
              ob_end_clean();
          }
  
          $this->model()->usePaginate(false);
  
          if ($this->builder) {
              call_user_func($this->builder, $this);
  
              $this->getExporter($scope)->export();
          }
  
          if ($forceExport) {
              $this->getExporter($scope)->export();
          }
      }
code: protected function handleExportRequest($forceExport = false)
      {
          if (!$scope = request(Exporter::$queryName)) {
              return;
          }
  
          // clear output buffer.
          if (ob_get_length()) {
              ob_end_clean();
          }
  
          $this->model()->usePaginate(false);
  
          if ($this->builder) {
              call_user_func($this->builder, $this);
  
              $this->getExporter($scope)->export();
          }
  
          if ($forceExport) {
              $this->getExporter($scope)->export();
          }
      }
code_tokens: protected function handleExportRequest ( $ forceExport = false ) { if ( ! $ scope = request ( Exporter :: $ queryName ) ) { return ; } // clear output buffer. if ( ob_get_length ( ) ) { ob_end_clean ( ) ; } $ this -> model ( ) -> usePaginate ( false ) ; if ( $ this -> builder ) { call_user_func ( $ this -> builder , $ this ) ; $ this -> getExporter ( $ scope ) -> export ( ) ; } if ( $ forceExport ) { $ this -> getExporter ( $ scope ) -> export ( ) ; } }
docstring: Handle export request.
  
  @param bool $forceExport
docstring_tokens: Handle export request .