Code Duplication    Length = 12-12 lines in 2 locations

src/DataGrid.php 2 locations

@@ 1671-1682 (lines=12) @@
1668
	 * @param bool $include_bom
1669
	 * @return Export\Export
1670
	 */
1671
	public function addExportCsv($text, $csv_file_name, $output_encoding = NULL, $delimiter = NULL, $include_bom = FALSE)
1672
	{
1673
		return $this->addToExports(new Export\ExportCsv(
1674
			$this,
1675
			$text,
1676
			$csv_file_name,
1677
			FALSE,
1678
			$output_encoding,
1679
			$delimiter,
1680
			$include_bom
1681
		));
1682
	}
1683
1684
1685
	/**
@@ 1694-1705 (lines=12) @@
1691
	 * @param bool $include_bom
1692
	 * @return Export\Export
1693
	 */
1694
	public function addExportCsvFiltered($text, $csv_file_name, $output_encoding = NULL, $delimiter = NULL, $include_bom = FALSE)
1695
	{
1696
		return $this->addToExports(new Export\ExportCsv(
1697
			$this,
1698
			$text,
1699
			$csv_file_name,
1700
			TRUE,
1701
			$output_encoding,
1702
			$delimiter,
1703
			$include_bom
1704
		));
1705
	}
1706
1707
1708
	/**