public function getHtml() { $html = parent::getHtml(); $htmlId = $this->getForm()->getHtmlIdPrefix() . $this->getId() . '__children' . $this->getForm()->getHtmlIdSuffix(); $html .= '<ul id="' . $htmlId . '" class="rule-param-children">'; foreach ($this->getConditions() as $condition) { $html .= '<li>' . $condition->getHtml() . '</li>'; } $html .= '<li>' . $this->getNewChildElement()->getHtml() . '</li>'; $html .= '</ul>'; return $html; }