Code Duplication    Length = 12-12 lines in 2 locations

src/DataGrid.php 2 locations

@@ 1766-1777 (lines=12) @@
1763
	 * @param bool $include_bom
1764
	 * @return Export\Export
1765
	 */
1766
	public function addExportCsv($text, $csv_file_name, $output_encoding = NULL, $delimiter = NULL, $include_bom = FALSE)
1767
	{
1768
		return $this->addToExports(new Export\ExportCsv(
1769
			$this,
1770
			$text,
1771
			$csv_file_name,
1772
			FALSE,
1773
			$output_encoding,
1774
			$delimiter,
1775
			$include_bom
1776
		));
1777
	}
1778
1779
1780
	/**
@@ 1789-1800 (lines=12) @@
1786
	 * @param bool $include_bom
1787
	 * @return Export\Export
1788
	 */
1789
	public function addExportCsvFiltered($text, $csv_file_name, $output_encoding = NULL, $delimiter = NULL, $include_bom = FALSE)
1790
	{
1791
		return $this->addToExports(new Export\ExportCsv(
1792
			$this,
1793
			$text,
1794
			$csv_file_name,
1795
			TRUE,
1796
			$output_encoding,
1797
			$delimiter,
1798
			$include_bom
1799
		));
1800
	}
1801
1802
1803
	/**