__construct()
addElement()
addNewLine()
generateHTML()
getAlignmentString()
getColspanString()
getRowspanString()
mergeTableElements()
setCSSClasses()
$alignment
$colspan
$rowspan
$CSSClasses
$elements
$rowOpen
$width
ALIGN_BOTTOM
ALIGN_CENTER
ALIGN_LEFT
ALIGN_RIGHT
ALIGN_TOP
VALIDATE_NUMERIC
footer
newLine
Structures elements using a table.
This is used to build HTML code by using objects.
package | metaHTML |
---|
__construct(String $width)
see | \global\htmlElement |
---|
String
table width (e.g. 100%)
addElement(mixed $element, boolean $newLine, boolean $isTableHeadElement)
The element may be a htmlElement object or a simple String.
mixed
htmlElement object or a simple String
boolean
adds a new line after the element (optional, default false)
boolean
specifies if this is a head or body element (default: body)
addNewLine()
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)mergeTableElements(\$table $table)
\$table
table to get elements
setCSSClasses(String $CSSClasses)
String
CSS class names (e.g. "userlist smallPadding")
$alignment
inherited_from | \htmlElement::$$alignment |
---|
$colspan
inherited_from | \htmlElement::$$colspan |
---|
$rowspan
inherited_from | \htmlElement::$$rowspan |
---|
$CSSClasses
$elements
$rowOpen
$width
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 |
---|
newLine