Converts an array of the style attributes into a string.
$style = array (
"bold" => 1,
"italic" => 0,
"color" => '000000',
"bgcolor" =>'ffffff',
"align" => 'center',
"validator" => 'none',
"lock" => 0
);
$cell = new SpreadSheetCell($res, "1","B1", $db_prefix);
$cell->serializeStyle($style); // -> "1;0;000000;ffffff;center;none;0"
See also: parseStyle, getStyle, setStyle
Back to top