Code Duplication    Length = 12-12 lines in 2 locations

src/DataGrid.php 2 locations

@@ 1631-1642 (lines=12) @@
1628
	 * @param bool $include_bom
1629
	 * @return Export\Export
1630
	 */
1631
	public function addExportCsv($text, $csv_file_name, $output_encoding = NULL, $delimiter = NULL, $include_bom = FALSE)
1632
	{
1633
		return $this->addToExports(new Export\ExportCsv(
1634
			$this,
1635
			$text,
1636
			$csv_file_name,
1637
			FALSE,
1638
			$output_encoding,
1639
			$delimiter,
1640
			$include_bom
1641
		));
1642
	}
1643
1644
1645
	/**
@@ 1654-1665 (lines=12) @@
1651
	 * @param bool $include_bom
1652
	 * @return Export\Export
1653
	 */
1654
	public function addExportCsvFiltered($text, $csv_file_name, $output_encoding = NULL, $delimiter = NULL, $include_bom = FALSE)
1655
	{
1656
		return $this->addToExports(new Export\ExportCsv(
1657
			$this,
1658
			$text,
1659
			$csv_file_name,
1660
			TRUE,
1661
			$output_encoding,
1662
			$delimiter,
1663
			$include_bom
1664
		));
1665
	}
1666
1667
1668
	/**