Initial commit
This commit is contained in:
30
content/inc/Form/FieldsetCloseElement.php
Normal file
30
content/inc/Form/FieldsetCloseElement.php
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
namespace dokuwiki\Form;
|
||||
|
||||
/**
|
||||
* Class FieldsetCloseElement
|
||||
*
|
||||
* Closes an open Fieldset
|
||||
*
|
||||
* @package dokuwiki\Form
|
||||
*/
|
||||
class FieldsetCloseElement extends TagCloseElement {
|
||||
|
||||
/**
|
||||
* @param array $attributes
|
||||
*/
|
||||
public function __construct($attributes = array()) {
|
||||
parent::__construct('', $attributes);
|
||||
$this->type = 'fieldsetclose';
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* The HTML representation of this element
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function toHTML() {
|
||||
return '</fieldset>';
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user