Lines Matching refs:type

19  * When printed, the form class calls functions named 'form_$type' for each
62 * @param bool|string $enctype (optional, deprecated) Encoding type of the data
192 * Gets the position of the first of a type of element.
194 * @param string $type Element type to look for.
199 public function findElementByType($type)
202 if (is_array($elem) && $elem['_elem'] == $type)
271 * 'form_$type'. The function should return the HTML to be printed.
416 * @param string $type Type attribute. 'submit' or 'cancel'
424 function form_makeButton($type, $act, $value = '', $attrs = array())
427 $elem = array('_elem' => 'button', 'type' => $type, '_action' => $act,
441 * @param string $type Type attribute of input.
454 function form_makeField($type, $name, $value = '', $label = null, $id = '', $class = '', $attrs = array())
458 'type' => $type, 'id' => $id, 'name' => $name, 'value' => $value);
471 * @param string $type
481 function form_makeFieldRight($type, $name, $value = '', $label = null, $id = '', $class = '', $attrs = array())
485 'type' => $type, 'id' => $id, 'name' => $name, 'value' => $value);
817 return '<input type="hidden" name="' . $attrs['name'] . '" value="' . formText($attrs['value']) . '" />';
929 unset($attrs['type']);
934 $s .= '<input type="text" ' . buildAttributes($attrs, true) . ' /></label>';
956 unset($attrs['type']);
961 $s .= '<input type="password" ' . buildAttributes($attrs, true) . ' /></label>';
974 * _accept : Accepted mime-type
988 $s .= '<input type="file" ' . buildAttributes($attrs, true);
1015 unset($attrs['type']);
1021 echo '<input type="hidden" name="' . hsc($attrs['name']) . '"'
1025 $s .= '<input type="checkbox" ' . buildAttributes($attrs, true) . ' />';
1048 unset($attrs['type']);
1052 $s .= '><input type="radio" ' . buildAttributes($attrs, true) . ' />';