original_string: public static function formatExportQuery($scope = '', $args = null)
      {
          $query = '';
  
          if ($scope === static::SCOPE_ALL) {
              $query = 'all';
          }
  
          if ($scope === static::SCOPE_CURRENT_PAGE) {
              $query = "page:$args";
          }
  
          if ($scope === static::SCOPE_SELECTED_ROWS) {
              $query = "selected:$args";
          }
  
          return [static::$queryName => $query];
      }
code: public static function formatExportQuery($scope = '', $args = null)
      {
          $query = '';
  
          if ($scope === static::SCOPE_ALL) {
              $query = 'all';
          }
  
          if ($scope === static::SCOPE_CURRENT_PAGE) {
              $query = "page:$args";
          }
  
          if ($scope === static::SCOPE_SELECTED_ROWS) {
              $query = "selected:$args";
          }
  
          return [static::$queryName => $query];
      }
code_tokens: public static function formatExportQuery ( $ scope = '' , $ args = null ) { $ query = '' ; if ( $ scope === static :: SCOPE_ALL ) { $ query = 'all' ; } if ( $ scope === static :: SCOPE_CURRENT_PAGE ) { $ query = "page:$args" ; } if ( $ scope === static :: SCOPE_SELECTED_ROWS ) { $ query = "selected:$args" ; } return [ static :: $ queryName => $ query ] ; }
docstring: Format query for export url.
  
  @param int  $scope
  @param null $args
  
  @return array
docstring_tokens: Format query for export url .