[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

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

(no description)

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

Defines 1 class

CheckableElement:: (2 methods):
  __construct()
  prefillInput()


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