Code Duplication    Length = 12-12 lines in 2 locations

src/DataGrid.php 2 locations

@@ 1643-1654 (lines=12) @@
1640
	 * @param bool $include_bom
1641
	 * @return Export\Export
1642
	 */
1643
	public function addExportCsv($text, $csv_file_name, $output_encoding = NULL, $delimiter = NULL, $include_bom = FALSE)
1644
	{
1645
		return $this->addToExports(new Export\ExportCsv(
1646
			$this,
1647
			$text,
1648
			$csv_file_name,
1649
			FALSE,
1650
			$output_encoding,
1651
			$delimiter,
1652
			$include_bom
1653
		));
1654
	}
1655
1656
1657
	/**
@@ 1666-1677 (lines=12) @@
1663
	 * @param bool $include_bom
1664
	 * @return Export\Export
1665
	 */
1666
	public function addExportCsvFiltered($text, $csv_file_name, $output_encoding = NULL, $delimiter = NULL, $include_bom = FALSE)
1667
	{
1668
		return $this->addToExports(new Export\ExportCsv(
1669
			$this,
1670
			$text,
1671
			$csv_file_name,
1672
			TRUE,
1673
			$output_encoding,
1674
			$delimiter,
1675
			$include_bom
1676
		));
1677
	}
1678
1679
1680
	/**