164744a10SAndreas Gohr<?php 264744a10SAndreas Gohrnamespace dokuwiki\Form; 364744a10SAndreas Gohr 464744a10SAndreas Gohr/** 564744a10SAndreas Gohr * Class FieldsetCloseElement 664744a10SAndreas Gohr * 764744a10SAndreas Gohr * Closes an open Fieldset 864744a10SAndreas Gohr * 964744a10SAndreas Gohr * @package dokuwiki\Form 1064744a10SAndreas Gohr */ 1164744a10SAndreas Gohrclass FieldsetCloseElement extends TagCloseElement { 1264744a10SAndreas Gohr 1364744a10SAndreas Gohr /** 1464744a10SAndreas Gohr * @param array $attributes 1564744a10SAndreas Gohr */ 1664744a10SAndreas Gohr public function __construct($attributes = array()) { 17*1f5d8b65SAndreas Gohr parent::__construct('', $attributes); 18*1f5d8b65SAndreas Gohr $this->type = 'fieldsetclose'; 1964744a10SAndreas Gohr } 2064744a10SAndreas Gohr 2164744a10SAndreas Gohr 2264744a10SAndreas Gohr /** 23*1f5d8b65SAndreas Gohr * The HTML representation of this element 2464744a10SAndreas Gohr * 25*1f5d8b65SAndreas Gohr * @return string 2664744a10SAndreas Gohr */ 27*1f5d8b65SAndreas Gohr public function toHTML() { 28*1f5d8b65SAndreas Gohr return '</fieldset>'; 2964744a10SAndreas Gohr } 3064744a10SAndreas Gohr} 31