* CHANGES
* PrinterElementTable.php:
(BSPrinterElementTable::__construct): If the child is not an instance of BSPrinterAbstract, make it into a Label
--- /dev/null
+3.1.0
+===================
+- Change: BSPrinterElementTable:__construct() can now take straight strings and convert them into BSPrinterElementLabel's
\ No newline at end of file
$childs = func_get_args();
if (is_array($childs))
{
+ foreach ($childs as $key => $value)
+ {
+ if (!($value instanceof BSPrinterAbstract))
+ {
+ $childs[$key] = BSPrinterElementLabel::make($value);
+ }
+ }
$this->children = $childs;
}
}