Data->content) || !is_array($this->Data->content)) return $this; foreach($this->Data->content as $currentChild) { $newChild = HTMLParserFactory::GetParser($this->FormBuilder, $this, $currentChild); if($newChild == null) return $this; $newChild = $newChild->ParseContent(); if($newChild == null) continue; $this->Children[] = $newChild; } return $this; } public function RenderChildren() { $renderedChildren = ''; foreach($this->Children as $currentChild) if($currentChild instanceof Markup) $renderedChildren .= $currentChild; else $renderedChildren .= $currentChild->Render(); return new Markup($renderedChildren, 'UTF-8'); } }