Lines Matching defs:label
215 * @param string $label
219 public function addTextInput($name, $label = '', $pos = -1)
221 return $this->addElement(new InputElement('text', $name, $label), $pos);
228 * @param string $label
232 public function addPasswordInput($name, $label = '', $pos = -1)
234 return $this->addElement(new InputElement('password', $name, $label), $pos);
241 * @param string $label
245 public function addRadioButton($name, $label = '', $pos = -1)
247 return $this->addElement(new CheckableElement('radio', $name, $label), $pos);
254 * @param string $label
258 public function addCheckbox($name, $label = '', $pos = -1)
260 return $this->addElement(new CheckableElement('checkbox', $name, $label), $pos);
268 * @param string $label
272 public function addDropdown($name, $options, $label = '', $pos = -1)
274 return $this->addElement(new DropdownElement($name, $options, $label), $pos);
281 * @param string $label
285 public function addTextarea($name, $label = '', $pos = -1)
287 return $this->addElement(new TextareaElement($name, $label), $pos);
317 * Adds a label referencing another input element, escapes the label for you
319 * @param string $label
324 public function addLabel($label, $for = '', $pos = -1)
326 return $this->addLabelHTML(hsc($label), $for, $pos);
330 * Adds a label referencing another input element, allows HTML for content