Form_Field_Number_NLS __construct(
string
$name, [boolean
$required = false], [integer
$maxlength = 100], [string
$value = NULL], [string
$thousands_separator = ' '], [string
$floating_separator = '.']
)
|
|
Constructor
Parameters:
|
string |
$name: |
Name of the field |
|
boolean |
$required: |
Is field required. Default is false |
|
integer |
$maxlength: |
Maximum length of the text. Default is 100 |
|
string |
$value: |
Default value. |
|
string |
$thousands_separator: |
Separator for thousands |
|
string |
$floating_separator: |
Decimal separator |
Redefinition of:
- Form_Field_Text::__construct()
- Constructor
unknown get_decimal_separator(
)
|
|
Alias of get_floating_separator
API Tags:
unknown get_floating_separator(
)
|
|
Returns decimal separator
API Tags:
string get_thousands_separator(
)
|
|
Returns thousands separator
API Tags:
void set_separators(
string
$thousands_separator, string
$floating_separator
)
|
|
Sets separators
Parameters:
|
string |
$thousands_separator: |
Thousands separator |
|
string |
$floating_separator: |
Decimal separator |
API Tags:
void translate_value_html2app(
)
|
|
Transfers data from html_value to value
API Tags:
| Internal: | |
| Access: | protected |
Redefinition of:
- Form_Field::translate_value_html2app()
- Transfers data from html_value to value