/** * @access public * @param EE_Question_Group $question_group * @return EE_Form_Section_HTML */ public function question_group_header(EE_Question_Group $question_group) { $html = ''; // group_name if ($question_group->show_group_name() && $question_group->name() != '') { EE_Registry::instance()->load_helper('HTML'); if ($this->checkout->admin_request) { $html .= EEH_HTML::br(); $html .= EEH_HTML::h3($question_group->name(), '', 'ee-reg-form-qstn-grp-title title', 'font-size: 1.3em; padding-left:0;'); } else { $html .= EEH_HTML::h4($question_group->name(), '', 'ee-reg-form-qstn-grp-title section-title'); } } // group_desc if ($question_group->show_group_desc() && $question_group->desc() != '') { $html .= EEH_HTML::p($question_group->desc(), '', $this->checkout->admin_request ? 'ee-reg-form-qstn-grp-desc-pg' : 'ee-reg-form-qstn-grp-desc-pg small-text lt-grey-text'); } return new EE_Form_Section_HTML($html); }
public function column_description(EE_Question_Group $item) { return $item->desc(); }