| @@ 755-761 (lines=7) @@ | ||
| 752 | * @since 1.26 |
|
| 753 | * @return string HTML |
|
| 754 | */ |
|
| 755 | function getHeaderText( $section = null ) { |
|
| 756 | if ( is_null( $section ) ) { |
|
| 757 | return $this->mHeader; |
|
| 758 | } else { |
|
| 759 | return isset( $this->mSectionHeaders[$section] ) ? $this->mSectionHeaders[$section] : ''; |
|
| 760 | } |
|
| 761 | } |
|
| 762 | ||
| 763 | /** |
|
| 764 | * Add footer text, inside the form. |
|
| @@ 810-816 (lines=7) @@ | ||
| 807 | * @since 1.26 |
|
| 808 | * @return string |
|
| 809 | */ |
|
| 810 | function getFooterText( $section = null ) { |
|
| 811 | if ( is_null( $section ) ) { |
|
| 812 | return $this->mFooter; |
|
| 813 | } else { |
|
| 814 | return isset( $this->mSectionFooters[$section] ) ? $this->mSectionFooters[$section] : ''; |
|
| 815 | } |
|
| 816 | } |
|
| 817 | ||
| 818 | /** |
|
| 819 | * Add text to the end of the display. |
|