/** * Returns a block of XHTML-valid code that contains markup for this specific * component. * @param string $fieldName The field name to use when outputting form data or * similar parameters/information. * @access public * @return string */ function getMarkup($fieldName) { ob_start(); foreach ($this->getChildren() as $childName => $child) { print "\n\t<div>[[" . $childName . "]] </div>"; } $this->setContent(ob_get_clean()); return parent::getMarkup($fieldName); }