string getCaption(
[bool
$useAccessKey = TRUE], [string
$lang = null], [bool
$clickable = FALSE])
|
|
Return the caption string (for the current language).
overwrites/uses parent method.
Tags:
Overrides
Bs_FormField::getCaption() (Return the caption string (for the current language).)
Parameters:
string &getField(
[mixed
$explodeKey = NULL], [bool
$withText = TRUE], [bool
$addEnforceCheckbox = TRUE])
|
|
Return some html code to display the field on a website in a form.
overwrites parent method.
Tags:
Overridden in child classes as:
- Bs_FormFieldCheckboxJs::getField()
- Return some html code to display the field on a website in a form.
Overrides
Bs_FormField::getField() (overwrite this method in your subclass.)
Parameters:
mixed inputValidate(
[mixed
$paramValue = NULL])
|
|
validate the user inputs according to the object vars.
overwrites parent method. read manual there. additional information: the order for data validation is: (-- means check omitted here)
1) must 5) --mustStartWith 9) --mustContain 13) --bsDataType/bsDataInfo
2) --onlyOneOf 6) --notStartWith 10) --notContain 14) --regularExpression
3) --minLength 7) --mustEndWith 11) --equalTo 15) --mustBeUnique
4) --maxLength 8) --notEndWith 12) --notEqualTo
so 'must' is the only thing we really use here. you may say it's not of any use also, but think of the checkbox "do you agree to the terms and conditions" which is just there to be clicked.
Tags:
Overrides
Bs_FormField::inputValidate() (validate the user inputs according to the object vars.)
Parameters: