Table element.
create a table:
parameter:
head - array with table header.
array - array with elements. If cell is a string, it will be converted into label element automatically. A 1 will be converted into "true".
name - optional. Its highly recommended to use unique identifiers to avoid side effects.
function setDiv($div) - specifies the class of a div which will be wrapped around the table. If it is empty no div will be created. HTML only. Usage: $myTable->wrapdiv = "myclass"; HTML only. "meta" => array(...) - optional. Indicates the width of the columns.
example:
$myArray = array( array("Dresden","a city with the flair of the former Saxon residence","Germany"), array("Prague","one of the nine cities awarded by the European Community the title of European City of Culture for the year 2000.","Czech"), array("San Jose", "San Jose has a world-renowned quality of life.","United States"), ); $myTable = $ippfp->createTable(array("city","description","country"),$myArray,"mytable");Hint: HTML: Every second row is in "mark" class, usefull for inking.