Helpers
class Helpers
Forms helpers.
Methods
static string|string[]
extractHttpData(array $data, $htmlName, $type)
Extracts and sanitizes submitted form data for single control.
static string
generateHtmlName($id)
Converts control name to HTML name.
static array
static string
createInputList(array $items, array $inputAttrs = null, array $labelAttrs = null, $wrapper = null)
No description
static Html
createSelectBox(array $items, array $optionAttrs = null, $selected = null)
No description
Details
at line 36
static string|string[]
extractHttpData(array $data, $htmlName, $type)
internal |
Extracts and sanitizes submitted form data for single control.
at line 83
static string
generateHtmlName($id)
Converts control name to HTML name.
at line 99
static array
exportRules(Rules $rules)
No description
at line 145
static string
createInputList(array $items, array $inputAttrs = null, array $labelAttrs = null, $wrapper = null)
No description
at line 176
static Html
createSelectBox(array $items, array $optionAttrs = null, $selected = null)
No description
Traits
StaticClass