xref: /dokuwiki/inc/Form/FieldsetCloseElement.php (revision 925617179ad74eaa7a990a9607ea7a3f2e106d07)
1<?php
2namespace dokuwiki\Form;
3
4/**
5 * Class FieldsetCloseElement
6 *
7 * Closes an open Fieldset
8 *
9 * @package dokuwiki\Form
10 */
11class FieldsetCloseElement extends TagCloseElement {
12
13    /**
14     * @param array $attributes
15     */
16    public function __construct($attributes = array()) {
17        parent::__construct('', $attributes);
18        $this->type = 'fieldsetclose';
19    }
20
21
22    /**
23     * The HTML representation of this element
24     *
25     * @return string
26     */
27    public function toHTML() {
28        return '</fieldset>';
29    }
30}
31