public function GetStyleAttributes() { $strToReturn = parent::GetStyleAttributes(); if ($this->strBorderCollapse == QBorderCollapse::Collapse) { $strToReturn .= 'border-collapse:collapse;'; } else { if ($this->strBorderCollapse == QBorderCollapse::Separate) { $strToReturn .= 'border-collapse:separate;'; } } return $strToReturn; }