[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

/inc/Form/ -> FieldsetCloseElement.php (source)

   1  <?php
   2  namespace dokuwiki\Form;
   3  
   4  /**
   5   * Class FieldsetCloseElement
   6   *
   7   * Closes an open Fieldset
   8   *
   9   * @package dokuwiki\Form
  10   */
  11  class 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  }