Code Duplication    Length = 12-12 lines in 2 locations

src/DataGrid.php 2 locations

@@ 1649-1660 (lines=12) @@
1646
	 * @param bool $include_bom
1647
	 * @return Export\Export
1648
	 */
1649
	public function addExportCsv($text, $csv_file_name, $output_encoding = NULL, $delimiter = NULL, $include_bom = FALSE)
1650
	{
1651
		return $this->addToExports(new Export\ExportCsv(
1652
			$this,
1653
			$text,
1654
			$csv_file_name,
1655
			FALSE,
1656
			$output_encoding,
1657
			$delimiter,
1658
			$include_bom
1659
		));
1660
	}
1661
1662
1663
	/**
@@ 1672-1683 (lines=12) @@
1669
	 * @param bool $include_bom
1670
	 * @return Export\Export
1671
	 */
1672
	public function addExportCsvFiltered($text, $csv_file_name, $output_encoding = NULL, $delimiter = NULL, $include_bom = FALSE)
1673
	{
1674
		return $this->addToExports(new Export\ExportCsv(
1675
			$this,
1676
			$text,
1677
			$csv_file_name,
1678
			TRUE,
1679
			$output_encoding,
1680
			$delimiter,
1681
			$include_bom
1682
		));
1683
	}
1684
1685
1686
	/**