children = $tabs; CompositeField::__construct($tabs); } public function FieldHolder($properties = array()) { // This gives us support for sub-tabs. $tag = ($this->tabSet) ? "h2>" : "h1>"; $retVal = ''; foreach ($this->children as $tab) { $retVal .= "<$tag" . $tab->Title() . "FieldHolder(); } return $retVal; } }