44 $iExportedItems = $iCnt;
46 if ( $oArticle = $this->
getOneArticle( $iCnt, $blContinue ) ) {
50 $oSmarty->assign_by_ref(
"linenr", $iCnt );
51 $oSmarty->assign_by_ref(
"article", $oArticle );
52 $oSmarty->assign(
"spr",
$myConfig->getConfigParam(
'sCSVSign' ) );
53 $oSmarty->assign(
"encl",
$myConfig->getConfigParam(
'sGiCsvFieldEncloser' ) );
54 $this->
write( $oSmarty->fetch(
"genexport.tpl", $this->getViewId() ) );
55 return ++$iExportedItems;
70 $sLine = $this->removeSID( $sLine );
72 $sLine = str_replace( array(
"\r\n",
"\n"),
"", $sLine );
73 $sLine = str_replace(
"<br>",
"\n", $sLine );
75 fwrite( $this->fpFile, $sLine.
"\r\n");