Searched refs:addElement (Results 1 – 4 of 4) sorted by relevance
/dokuwiki/_test/tests/inc/ |
H A D | form_form.test.php | 9 $form->addElement(form_makeTextField('t', 'v', 'Text', 'text__id', 'block')); 10 $form->addElement(form_makeCheckboxField('r', '1', 'Check', 'check__id', 'simple')); 11 $form->addElement(form_makeButton('submit', 'save', 'Save', array('accesskey'=>'s'))); 12 $form->addElement(form_makeButton('submit', 'cancel', 'Cancel')); 91 $form->addElement(form_makeTextField('t', 'v', 'Text', 'text__id', 'block')); 92 $form->addElement(form_makeCheckboxField('r', '1', 'Check', 'check__id', 'simple')); 93 $form->addElement(form_makeButton('submit', 'save', 'Save', array('accesskey'=>'s'))); 94 $form->addElement(form_makeButton('submit', 'cancel', 'Cancel'));
|
/dokuwiki/inc/Form/ |
H A D | Form.php | 170 public function addElement(Element $element, $pos = -1) function in dokuwiki\\Form\\Form 221 return $this->addElement(new InputElement('text', $name, $label), $pos); 234 return $this->addElement(new InputElement('password', $name, $label), $pos); 247 return $this->addElement(new CheckableElement('radio', $name, $label), $pos); 260 return $this->addElement(new CheckableElement('checkbox', $name, $label), $pos); 274 return $this->addElement(new DropdownElement($name, $options, $label), $pos); 287 return $this->addElement(new TextareaElement($name, $label), $pos); 300 return $this->addElement(new ButtonElement($name, hsc($content)), $pos); 313 return $this->addElement(new ButtonElement($name, $html), $pos); 350 return $this->addElement($element, $pos); [all …]
|
/dokuwiki/inc/ |
H A D | form.php | 103 $this->addElement(array('_elem' => 'closefieldset')); 105 $this->addElement(array('_elem' => 'openfieldset', '_legend' => $legend)); 117 $this->addElement(array('_elem' => 'closefieldset')); 152 public function addElement($elem) function in Doku_Form 332 $this->addElement(form_makeRadioField($name, $val, $cap, '', '', $data));
|
H A D | html.php | 1064 $form->addElement(form_makeOpenTag('span', ['class' => $class])); 1065 $form->addElement($value); 1066 $form->addElement(form_makeCloseTag('span'));
|