Code Duplication    Length = 12-12 lines in 2 locations

src/DataGrid.php 2 locations

@@ 1658-1669 (lines=12) @@
1655
	 * @param bool $include_bom
1656
	 * @return Export\Export
1657
	 */
1658
	public function addExportCsv($text, $csv_file_name, $output_encoding = NULL, $delimiter = NULL, $include_bom = FALSE)
1659
	{
1660
		return $this->addToExports(new Export\ExportCsv(
1661
			$this,
1662
			$text,
1663
			$csv_file_name,
1664
			FALSE,
1665
			$output_encoding,
1666
			$delimiter,
1667
			$include_bom
1668
		));
1669
	}
1670
1671
1672
	/**
@@ 1681-1692 (lines=12) @@
1678
	 * @param bool $include_bom
1679
	 * @return Export\Export
1680
	 */
1681
	public function addExportCsvFiltered($text, $csv_file_name, $output_encoding = NULL, $delimiter = NULL, $include_bom = FALSE)
1682
	{
1683
		return $this->addToExports(new Export\ExportCsv(
1684
			$this,
1685
			$text,
1686
			$csv_file_name,
1687
			TRUE,
1688
			$output_encoding,
1689
			$delimiter,
1690
			$include_bom
1691
		));
1692
	}
1693
1694
1695
	/**