original_string: public function print_csv_data($return = false) {
          fseek($this->fp, 0);
          $returnstring = '';
          while (($content = fgets($this->fp)) !== false) {
              if (!$return){
                  echo $content;
              } else {
                  $returnstring .= $content;
              }
          }
          if ($return) {
              return $returnstring;
          }
      }
code: public function print_csv_data($return = false) {
          fseek($this->fp, 0);
          $returnstring = '';
          while (($content = fgets($this->fp)) !== false) {
              if (!$return){
                  echo $content;
              } else {
                  $returnstring .= $content;
              }
          }
          if ($return) {
              return $returnstring;
          }
      }
code_tokens: public function print_csv_data ( $ return = false ) { fseek ( $ this -> fp , 0 ) ; $ returnstring = '' ; while ( ( $ content = fgets ( $ this -> fp ) ) !== false ) { if ( ! $ return ) { echo $ content ; } else { $ returnstring .= $ content ; } } if ( $ return ) { return $ returnstring ; } }
docstring: Echos or returns a csv data line by line for displaying.
  
  @param bool $return  Set to true to return a string with the csv data.
  @return string       csv data.
docstring_tokens: Echos or returns a csv data line by line for displaying .