[ Index ]

PHP Cross Reference of DokuWiki




/inc/Form/ -> CheckableElement.php (summary)

(no description)

File Size: 82 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

CheckableElement:: (3 methods):

Class: CheckableElement  - X-Ref

Class CheckableElement

For Radio- and Checkboxes

__construct($type, $name, $label)   X-Ref

param: string $type The type of this element
param: string $name The name of this form element
param: string $label The label text for this element

prefillInput()   X-Ref
Handles the useInput flag and sets the checked attribute accordingly

toHTML()   X-Ref
The HTML representation of this element wrapped in a label
Note: allow HTML tags in label text

return: string