[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

/_test/tests/Form/ -> Form.php (source)

   1  <?php
   2  
   3  namespace dokuwiki\test\Form;
   4  
   5  /**
   6   * makes form internals accessible for testing
   7   */
   8  class Form extends \dokuwiki\Form\Form
   9  {
  10      /**
  11       * @return array list of element types
  12       */
  13      function getElementTypeList()
  14      {
  15          $list = array();
  16          foreach ($this->elements as $element) {
  17              $list[] = $element->getType();
  18          }
  19          return $list;
  20      }
  21  
  22      /** @inheritdoc */
  23      public function balanceFieldsets()
  24      {
  25          parent::balanceFieldsets();
  26      }
  27  }