Add basic application in order to perform the tasks
This commit is contained in:
parent
46d993d168
commit
8d5109d7de
9 changed files with 295 additions and 5 deletions
|
@ -20,7 +20,7 @@ class CsvExport extends BaseExport
|
|||
* @param string Export file name
|
||||
* @param boolean Force file creation
|
||||
*/
|
||||
public function __construct($inFileName)
|
||||
public function __construct($inFileName, $inCreate = false)
|
||||
{
|
||||
$this->mSearch = array("\r", "\n", self::CsvSeparator);
|
||||
$this->mReplace = array('', '<br />', '');
|
||||
|
@ -28,7 +28,7 @@ class CsvExport extends BaseExport
|
|||
// Init container
|
||||
$this->mLines = array();
|
||||
|
||||
parent::__construct($inFileName);
|
||||
parent::__construct($inFileName, $inCreate);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue