addTextX function added

This commit is contained in:
idziak 2010-03-22 02:20:04 +00:00
parent 96c3b65cd5
commit b5c795b317

View File

@ -100,6 +100,20 @@ class lcsv
$this->csvdata.=$this->newline(); $this->csvdata.=$this->newline();
} }
function addTextX($str,$align="")
{
//we need to put it in quotes incase it contains a comma we dont want it going to the next 'cell'
$this->csvdata.="\"".$str."\",";
}
function setFontBold()
{
}
function setFontNormal()
{
}
function nextline() function nextline()
{ {
$this->csvdata.=$this->newline(); $this->csvdata.=$this->newline();