__construct()
generateHTML()
getAlignmentString()
getColspanString()
getRowspanString()
getTableCellCSSClasses()
setCSSClasses()
setIsEnabled()
setTableCellCSSClasses()
setTableRowsToHide()
setTableRowsToShow()
setTransient()
$alignment
$colspan
$rowspan
$checked
$cssClasses
$isEnabled
$name
$tableCellCssClasses
$tableRowsToHide
$tableRowsToShow
$transient
ALIGN_BOTTOM
ALIGN_CENTER
ALIGN_LEFT
ALIGN_RIGHT
ALIGN_TOP
VALIDATE_NUMERIC
Prints the HTML code for a checkbox.
This is used to build HTML code by using objects.
package | metaHTML |
---|
__construct(String $name, boolean $checked)
String
unique name
boolean
checked
generateHTML(string $module, array $input, array $values, boolean $restricted, integer $tabindex, string $scope) : array
string
Name of account module
array
List of meta-HTML elements
array
List of values which override the defaults in $input (name => value)
boolean
If true then no buttons will be displayed
integer
Start value of tabulator index for input fields
string
Account type
array
List of input field names and their type (name => type)getAlignmentString() : String
inherited_from | \htmlElement::getAlignmentString() |
---|
String
alignment HTML attributes (e.g. align="right" valign="top")getColspanString() : String
inherited_from | \htmlElement::getColspanString() |
---|
String
colspan HTML attribute (e.g. colspan=3)getRowspanString() : String
inherited_from | \htmlElement::getRowspanString() |
---|
String
rowspan HTML attribute (e.g. rowspan=3)getTableCellCSSClasses() : array
inherited_from | \htmlElement::getTableCellCSSClasses() |
---|
array
CSS classessetCSSClasses(array $classes)
inherited_from | \htmlElement::setCSSClasses() |
---|
array
CSS class names
setIsEnabled(boolean $isEnabled)
boolean
enabled if true
setTableCellCSSClasses(array $classes)
inherited_from | \htmlElement::setTableCellCSSClasses() |
---|
array
CSS class names
setTableRowsToHide(array $tableRowsToHide)
The given IDs can be of any e.g. input element. Starting from this element the first parent "
array
IDs of child elements to hide
setTableRowsToShow(array $tableRowsToShow)
The given IDs can be of any e.g. input element. Starting from this element the first parent "
array
IDs of child elements to show
setTransient(boolean $transient)
boolean
transient field
$alignment
inherited_from | \htmlElement::$$alignment |
---|
$colspan
inherited_from | \htmlElement::$$colspan |
---|
$rowspan
inherited_from | \htmlElement::$$rowspan |
---|
$checked
$cssClasses
inherited_from | \htmlElement::$$cssClasses |
---|
$isEnabled
$name
$tableCellCssClasses
inherited_from | \htmlElement::$$tableCellCssClasses |
---|
$tableRowsToHide
$tableRowsToShow
$transient
ALIGN_BOTTOM
inherited_from | \htmlElement::ALIGN_BOTTOM |
---|
ALIGN_CENTER
inherited_from | \htmlElement::ALIGN_CENTER |
---|
ALIGN_LEFT
inherited_from | \htmlElement::ALIGN_LEFT |
---|
ALIGN_RIGHT
inherited_from | \htmlElement::ALIGN_RIGHT |
---|
ALIGN_TOP
inherited_from | \htmlElement::ALIGN_TOP |
---|
VALIDATE_NUMERIC
inherited_from | \htmlElement::VALIDATE_NUMERIC |
---|