Code Duplication    Length = 12-12 lines in 2 locations

src/DataGrid.php 2 locations

@@ 1733-1744 (lines=12) @@
1730
	 * @param bool $include_bom
1731
	 * @return Export\Export
1732
	 */
1733
	public function addExportCsv($text, $csv_file_name, $output_encoding = NULL, $delimiter = NULL, $include_bom = FALSE)
1734
	{
1735
		return $this->addToExports(new Export\ExportCsv(
1736
			$this,
1737
			$text,
1738
			$csv_file_name,
1739
			FALSE,
1740
			$output_encoding,
1741
			$delimiter,
1742
			$include_bom
1743
		));
1744
	}
1745
1746
1747
	/**
@@ 1756-1767 (lines=12) @@
1753
	 * @param bool $include_bom
1754
	 * @return Export\Export
1755
	 */
1756
	public function addExportCsvFiltered($text, $csv_file_name, $output_encoding = NULL, $delimiter = NULL, $include_bom = FALSE)
1757
	{
1758
		return $this->addToExports(new Export\ExportCsv(
1759
			$this,
1760
			$text,
1761
			$csv_file_name,
1762
			TRUE,
1763
			$output_encoding,
1764
			$delimiter,
1765
			$include_bom
1766
		));
1767
	}
1768
1769
1770
	/**