array generateHTML(
string
$module, array
$input, array
$values, boolean
$restricted,
&$tabindex, string
$scope, integer
$tabindex)
|
|
Prints the HTML code for this element.
Tags:
Overridden in child classes as:
- htmlTableExtendedInputCheckbox::generateHTML()
- Prints the HTML code for this element.
Overrides
htmlElement::generateHTML() (Prints the HTML code for this element.)
Parameters:
void setTableRowsToHide(
array
$tableRowsToHide)
|
|
This will hide the given table rows when the checkbox is checked.
The given IDs can be of any e.g. input element. Starting from this element the first parent "<tr>" element will be used to show/hide.
Example: <tr><td><input type="checkbox" id="mycheckbox"></td></tr>
Using "mycheckbox" will use this "tr" to hide/show.
Tags:
Parameters:
void setTableRowsToShow(
array
$tableRowsToShow)
|
|
This will show the given table rows when the checkbox is checked.
The given IDs can be of any e.g. input element. Starting from this element the first parent "<tr>" element will be used to show/hide.
Example: <tr><td><input type="checkbox" id="mycheckbox"></td></tr>
Using "mycheckbox" will use this "tr" to hide/show.
Tags:
Parameters: