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