*/
private function _calculateColumnCount()
{
- foreach ($this->children AS $child)
+ foreach ($this->children as $child)
{
if ($child->numberOfColumns() > $this->colspan)
{
$this->_calculateColumnCount();
- foreach ($this->children AS $child)
+ foreach ($this->children as $child)
{
$child->setColumnNumber($this->colspan);
$builder .= "\n" . $child->paint();