createCheckBox (line 211)
void
createCheckBox
( $name, $value, $checked, [ $disabled = FALSE], [ $id = ""])
-
$name
-
$value
-
$checked
-
$disabled
-
$id
createFileInput (line 229)
Creates an File Input Type with the given Name.
The HTML Elements ID Attribute will be the same as the NAME Attribute.
void
createFileInput
(the $name)
-
the
$name: Name of the HTML Element
createNamedCheckBox (line 200)
Creates a Checkbox with the given Name.
void
createNamedCheckBox
(the $name, the $value, [if $checked = FALSE], [if $disabled = FALSE], [ $id = ""])
-
the
$name: Name of the HTML Checkbox
-
the
$value: Value of the HTML Checkbox
-
if
$checked: set and TRUE the Checkbox will be checked
-
if
$disabled: set and TRUE the Checkbox will be disabled
-
$id
createNamedPasswordField (line 171)
void
createNamedPasswordField
( $name, $value, $max)
createNamedRadioButton (line 176)
void
createNamedRadioButton
( $name, $value, $selected, [ $id = ''])
-
$name
-
$value
-
$selected
-
$id
createNamedSelectBox (line 243)
Pass the Values in an Array:
array('foo' => 'bar') will lead to <option value="foo">bar</option>
void
createNamedSelectBox
(String $name, Array $opt_name_val, [String $sel = NULL], [String $onChange = ''], [boolean $disabled = false], [String $id = ''])
-
String
$name: the Name Attribute (name="")
-
Array
$opt_name_val: the Array with the Values
-
String
$sel: the preselected Value (leave empty for none)
-
String
$onChange: the Javascript to be executed "onChange" (leave empty for none)
-
boolean
$disabled: whether the Select Box should be disabled or not (default is false)
-
String
$id: the ID Attribute (id="")
createNamedTextInputType (line 150)
Creates an HTML Input type "text".
void
createNamedTextInputType
( $name, $value, $max, [ $disabled = false], [ $size = '35'], [ $id = ''])
-
$name
-
$value
-
$max
-
$disabled
-
$size
-
$id
createOptionTags (line 279)
Creates a String, holding the HTML representation of the Key-Value-pair Array as OPTION Tags for a Select Box.
void
createOptionTags
([ $keyValueArray = array()], [ $preselected = NULL])
-
$keyValueArray
-
$preselected
createPasswordField (line 166)
void
createPasswordField
( $name, $value, $max)
createRadioButton (line 188)
void
createRadioButton
( $name, $value, $selected, [ $id = ''])
-
$name
-
$value
-
$selected
-
$id
createSelectBox (line 271)
Creates a HTML SELECT Box with the name used in an Array called
.
For example, you pass
, it will wrap the name as
<select name="data[foo]">
.
void
createSelectBox
(String $name, Array $opt_name_val, [String $sel = ''], [String $onChange = ''], [boolean $disabled = false], [String $id = ''])
-
String
$name: the Name Attribute (name="")
-
Array
$opt_name_val: the Array with the Values
-
String
$sel: the preselected Value (leave empty for none)
-
String
$onChange: the Javascript to be executed "onChange" (leave empty for none)
-
boolean
$disabled: whether the Select Box should be disabled or not (default is false)
-
String
$id: the ID Attribute (id="")
createTable (line 44)
void
createTable
( $config, [ $cssPre = 'auto'])
createTextArea (line 216)
void
createTextArea
( $name, $value, [ $rows = '10'], [ $cols = '50'], [ $wrap = ''])
-
$name
-
$value
-
$rows
-
$cols
-
$wrap
createTextInputType (line 161)
void
createTextInputType
( $name, $value, $max, [ $disabled = false], [ $size = '35'], [ $id = ''])
-
$name
-
$value
-
$max
-
$disabled
-
$size
-
$id