END;
return $string . "\n";
}
// code for ending a table
function tableEnd()
{
$string = <<< END
END;
return $string . "\n";
}
// return properly formatted
start tag
function trStart($class = FALSE, $align = "left", $vAlign = "top")
{
$string = <<< END
END;
return $string . "\n";
}
// return properly formatted
end tag
function trEnd()
{
$string = <<< END
END;
return $string . "\n";
}
// return properly formatted tag
function td($data, $class = FALSE, $align = "left", $vAlign = "top", $colSpan = FALSE, $width=FALSE)
{
$string = <<< END
|
$data
|
END;
return $string . "\n";
}
// return start TD tag
function tdStart($class = FALSE, $align = "left", $vAlign = "top", $colSpan = FALSE)
{
return "\n";
}
// return td end tag
function tdEnd()
{
return " | \n";
}
}
?>