| 1 | <?php |
||
| 5 | class CsvFormat extends Format |
||
| 6 | { |
||
| 7 | private $delimiter = ';'; |
||
| 8 | private $enclosure = '"'; |
||
| 9 | private $escape = '\\'; |
||
| 10 | private $headerinfirstrow = true; |
||
| 11 | |||
| 12 | protected $id = 'csv'; |
||
| 13 | protected $name = 'CSV File'; |
||
| 14 | |||
| 15 | 22 | public function __construct($delimiter = ';', $enclosure = '"', $escape = '\\', $headerinfirstrow = true) |
|
| 22 | |||
| 23 | 6 | public function isHeaderInFirstRow() |
|
| 27 | |||
| 28 | 6 | public function getDelimiter() |
|
| 32 | |||
| 33 | 6 | public function getEnclosure() |
|
| 37 | |||
| 38 | 6 | public function getEscape() |
|
| 42 | |||
| 43 | public function __toString() |
||
| 47 | } |
||
| 48 |