Add basic application in order to perform the tasks

This commit is contained in:
Didier Corbière 2013-09-25 02:03:52 +01:00
parent 46d993d168
commit 8d5109d7de
9 changed files with 295 additions and 5 deletions

View file

@ -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);
}
/**