Label element, shows a text.
crate a label element:
parameter:
text - the text.
cols - optional. This value will be used in tables or grids. $cols-number of cells will be merged.
name - optional.
formatting - optional. You can use one of IPPFP_HEADLINE, IPPFP_BOLD, IPPFP_ITALIC, IPPFP_UNDERLINED for simple text formatting.
example:
$myLabel = $ippfp->createLabel("example text",1,"mylabel",IPPFP_BOLD);Hint:
HTML: if this function is called with the name attribute a span tag with this name will be created. You can use it for your css stylesheets.