__construct()
enableAutocompletion()
generateHTML()
getAlignmentString()
getColspanString()
getRowspanString()
getTableCellCSSClasses()
setCSSClasses()
setFieldMaxLength()
setFieldSize()
setIsEnabled()
setIsPassword()
setObfuscate()
setOnKeyPress()
setRequired()
setTableCellCSSClasses()
setTransient()
setValidationRule()
showCalendar()
$alignment
$colspan
$rowspan
$autocomplete
$autocompleteMinLength
$autocompleteMultiValue
$autocompleteMultiValueSeparator
$autocompleteMultiValueSeparatorExp
$autocompleteValues
$calendarFormat
$cssClasses
$fieldMaxLength
$fieldName
$fieldSize
$fieldValue
$isEnabled
$isPassword
$obfuscate
$onKeyPress
$required
$showCalendar
$tableCellCssClasses
$transient
$validationRule
ALIGN_BOTTOM
ALIGN_CENTER
ALIGN_LEFT
ALIGN_RIGHT
ALIGN_TOP
VALIDATE_NUMERIC
A standard input field.
This is used to build HTML code by using objects.
| package | metaHTML |
|---|
__construct(String $fieldName, String $fieldValue, String $fieldSize)
Stringunique field name
Stringvalue of input field (optional)
Stringmaximum input length
enableAutocompletion(array $values, int $minLength, boolean $multiValue, $multiSeparatorExp, String | String $multiSeparator)
arraylist of values to suggest
intautocompletion starts after this number of caracters entered (default 1; 0 means immediate start)
booleanallow multiple autocompletion values in the same fields (default: false)
StringStringseparator expression if multiple autocompletion values are allowed (default ",\s*")
generateHTML(string $module, array $input, array $values, boolean $restricted, integer $tabindex, string $scope) : array
stringName of account module
arrayList of meta-HTML elements
arrayList of values which override the defaults in $input (name => value)
booleanIf true then no buttons will be displayed
integerStart value of tabulator index for input fields
stringAccount type
arrayList of input field names and their type (name => type)getAlignmentString() : String
| inherited_from | \htmlElement::getAlignmentString() |
|---|
Stringalignment HTML attributes (e.g. align="right" valign="top")getColspanString() : String
| inherited_from | \htmlElement::getColspanString() |
|---|
Stringcolspan HTML attribute (e.g. colspan=3)getRowspanString() : String
| inherited_from | \htmlElement::getRowspanString() |
|---|
Stringrowspan HTML attribute (e.g. rowspan=3)getTableCellCSSClasses() : array
| inherited_from | \htmlElement::getTableCellCSSClasses() |
|---|
arrayCSS classessetCSSClasses(array $classes)
| inherited_from | \htmlElement::setCSSClasses() |
|---|
arrayCSS class names
setFieldMaxLength(int $fieldMaxLength)
intlength
setFieldSize(int $fieldSize)
intsize
setIsEnabled(boolean $isEnabled)
booleanenabled if true
setIsPassword(boolean $isPassword)
booleanpassword field
setObfuscate(boolean $obfuscate)
self service profile).
booleanobfuscate value
setOnKeyPress(String $onKeyPress)
StringJavaScript code
setRequired(boolean $required)
booleanrequired
setTableCellCSSClasses(array $classes)
| inherited_from | \htmlElement::setTableCellCSSClasses() |
|---|
arrayCSS class names
setTransient(boolean $transient)
booleantransient field
setValidationRule(boolean $rule)
htmlElement::VALIDATE_NUMERIC) for this field. This rule is checked on client side when the input field looses focus.
booleanrule name
showCalendar(String $format)
Stringcalendar format (e.g. yyyy-mm-dd)
$alignment
| inherited_from | \htmlElement::$$alignment |
|---|
$colspan
| inherited_from | \htmlElement::$$colspan |
|---|
$rowspan
| inherited_from | \htmlElement::$$rowspan |
|---|
$autocomplete
$autocompleteMinLength
$autocompleteMultiValue
$autocompleteMultiValueSeparator
$autocompleteMultiValueSeparatorExp
$autocompleteValues
$calendarFormat
$cssClasses
| inherited_from | \htmlElement::$$cssClasses |
|---|
$fieldMaxLength
$fieldName
$fieldSize
$fieldValue
$isEnabled
$isPassword
$obfuscate
$onKeyPress
$required
$showCalendar
$tableCellCssClasses
| inherited_from | \htmlElement::$$tableCellCssClasses |
|---|
$transient
$validationRule
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 |
|---|