Code Duplication    Length = 12-12 lines in 2 locations

src/DataGrid.php 2 locations

@@ 1635-1646 (lines=12) @@
1632
	 * @param bool $include_bom
1633
	 * @return Export\Export
1634
	 */
1635
	public function addExportCsv($text, $csv_file_name, $output_encoding = NULL, $delimiter = NULL, $include_bom = FALSE)
1636
	{
1637
		return $this->addToExports(new Export\ExportCsv(
1638
			$this,
1639
			$text,
1640
			$csv_file_name,
1641
			FALSE,
1642
			$output_encoding,
1643
			$delimiter,
1644
			$include_bom
1645
		));
1646
	}
1647
1648
1649
	/**
@@ 1658-1669 (lines=12) @@
1655
	 * @param bool $include_bom
1656
	 * @return Export\Export
1657
	 */
1658
	public function addExportCsvFiltered($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
			TRUE,
1665
			$output_encoding,
1666
			$delimiter,
1667
			$include_bom
1668
		));
1669
	}
1670
1671
1672
	/**